mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 18:24:45 -05:00
19d8c675f1
We begin with a simple treeview that shows a recorded profile. To record and view a profile of a process with <PID>, simply do this: $ profile <PID> on ... wait while PID does something interesting ... $ profile <PID> off $ cat /proc/profile > my-profile.prof $ ProfileViewer my-profile.prof
24 lines
361 B
Makefile
24 lines
361 B
Makefile
include ../../Makefile.common
|
|
|
|
OBJS = \
|
|
Profile.o \
|
|
ProfileModel.o \
|
|
main.o
|
|
|
|
APP = ProfileViewer
|
|
|
|
DEFINES += -DUSERLAND
|
|
|
|
all: $(APP)
|
|
|
|
$(APP): $(OBJS)
|
|
$(LD) -o $(APP) $(LDFLAGS) $(OBJS) -lgui -ldraw -lipc -lcore -lc
|
|
|
|
.cpp.o:
|
|
@echo "CXX $<"; $(CXX) $(CXXFLAGS) -o $@ -c $<
|
|
|
|
-include $(OBJS:%.o=%.d)
|
|
|
|
clean:
|
|
@echo "CLEAN"; rm -f $(APP) $(OBJS) *.d
|
|
|