mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:07:36 +00:00
Userland: Add "functrace" utility
functrace traces the function calls a program makes. It's like strace, but for userspace. It works by using Debugging functionality to insert breakpoints at call&ret instructions.
This commit is contained in:
parent
13865c7c3d
commit
f4418361c4
8 changed files with 175 additions and 4 deletions
11
Libraries/LibDebug/Makefile
Normal file
11
Libraries/LibDebug/Makefile
Normal file
|
@ -0,0 +1,11 @@
|
|||
OBJS = \
|
||||
DebugSession.o
|
||||
|
||||
LIBRARY = libdebug.a
|
||||
|
||||
install:
|
||||
mkdir -p $(SERENITY_BASE_DIR)/Root/usr/include/LibDebug/
|
||||
cp *.h $(SERENITY_BASE_DIR)/Root/usr/include/LibDebug/
|
||||
cp $(LIBRARY) $(SERENITY_BASE_DIR)/Root/usr/lib/
|
||||
|
||||
include ../../Makefile.common
|
Loading…
Add table
Add a link
Reference in a new issue