| 1 |
// Markers probes in executable and shared library plus argument. |
| 2 |
// Arguments: @1 uprobes_exe, @2 libuprobes_lib.so |
| 3 |
|
| 4 |
probe process(@1).mark("main_count") { |
| 5 |
printf("main_count: %d\n", $arg1); |
| 6 |
} |
| 7 |
|
| 8 |
probe process(@2).mark("func_count") { |
| 9 |
printf("func_count: %d\n", $arg1); |
| 10 |
} |