Skip to content

SimonRacaud/ftrace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ftrace

Function call tracer - Syscall, Internal and Shared functions

ftrace can list all of the different inputs and outputs of a program’s functions:

  • System calls,
  • A program’s internal function calls with their names and addresses,
  • Signals received from other programs,
  • Function calls from shared libraries (e.g: .so).

Example

Entering function main at 0x42ff231
Entering function my_putstr at 0x42ff9fd
Entering function my_putchar at 0x43aa123
Syscall write (0x1, 0xff3210123, 0x1) = 0x1
Leaving function mu_putchar
Entering function my_putchar at 0x43aa123
Syscall write (0x1, 0xff3210124, 0x1) = 0x1
Leaving function mu_putchar
Entering function my_putchar at 0x43aa123
Syscall write (0x1, 0xff3210125, 0x1) = 0x1
Received signal SIGWINCH
Leaving function mu_putchar
Entering function my_putchar at 0x43aa123
Syscall write (0x1, 0xff3210126, 0x1) = 0x1
Leaving function mu_putchar
Leaving function my_putstr
Entering function printf at 0x877621fda31

Usage

$> make
$> ./ftrace -h

About

Function call tracer - Syscall, Internal and shared functions

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors