☰
Debian Codegraph
@
5.5-1
5.4-1
/
/
doc
/
SystemTap_Beginners_Guide
/
testsuite
/
systemtap.base
/
process_by_cmd.c
☽
☼
doc/SystemTap_Beginners_Guide/testsuite/systemtap.base/process_by_cmd.c
code
plain
raw
1
#include "stdio.h"
2
#include "sys/sdt.h"
3
4
void third(){}
5
void second(){third();}
6
void first(){second();}
7
8
int main()
9
{
10
int rc = 0;
11
l1:
12
STAP_PROBE(process_by_cmd, main_start);
13
first();
14
STAP_PROBE(process_by_cmd, main_end);
15
return rc;
16
}