Skip to content

Given a kernel function, will provide a sampling of functions that are called from the given function.

Notifications You must be signed in to change notification settings

dvalinrh/call_tracker_samp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

call_tracker_samp

Given a kernel function, will provide a sampling of functions that are called from the given function.

Shell script that generates a bpftrace script to track perform a sampling of functions called after a specific function is entered.

Output will look something like this

@a trampoline_handler+47 ]: 316

@a copy_user_enhanced_fast_string+14 ]: 316 @a copy_user_enhanced_fast_string+3 ]: 194747

The output is not an accurate count of functions called, but is based on profiling.

Options -c: "command to execute" -d: depth of stack to view, default is 1 level. -h: help message -s: : syscall tracepoint -p: : Profile interval -k: : kprobe to track

About

Given a kernel function, will provide a sampling of functions that are called from the given function.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages