Ravi Bangoria
5a5e3d3cea
perf probe: Support SDT markers having reference counter (semaphore)
...
With this, perf buildid-cache will save SDT markers with reference
counter in probe cache. Perf probe will be able to probe markers
having reference counter. Ex,
# readelf -n /tmp/tick | grep -A1 loop2
Name: loop2
... Semaphore: 0x0000000010020036
# ./perf buildid-cache --add /tmp/tick
# ./perf probe sdt_tick:loop2
# ./perf stat -e sdt_tick:loop2 /tmp/tick
hi: 0
hi: 1
hi: 2
^C
Performance counter stats for '/tmp/tick':
3 sdt_tick:loop2
2.561851452 seconds time elapsed
Link: http://lkml.kernel.org/r/20180820044250.11659-5-ravi.bangoria@linux.ibm.com
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Reviewed-by: Song Liu <songliubraving@fb.com>
Tested-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
2018-09-24 04:44:54 -04:00
..
2018-09-11 13:09:26 -03:00
2018-09-02 22:30:39 +02:00
2018-08-15 15:04:25 -07:00
2018-02-21 15:35:42 -08:00
2018-03-18 17:48:59 +01:00
2018-09-12 09:31:00 +02:00
2018-07-23 19:18:10 +01:00
2018-09-15 06:44:32 -10:00
2018-08-30 17:15:12 +02:00
2018-02-21 15:35:42 -08:00
2018-02-21 15:35:42 -08:00
2018-09-18 10:16:18 -03:00
2018-07-17 09:30:36 +02:00
2018-08-15 12:09:03 -07:00
2018-07-19 11:47:13 +01:00
2018-09-24 04:44:54 -04:00
2018-08-23 18:48:43 -07:00
2018-04-11 00:03:02 +09:00
2018-02-21 15:35:42 -08:00
2018-09-21 16:21:42 +02:00
2018-03-27 09:51:23 +02:00
2018-07-17 10:12:51 +03:00
2018-07-27 16:54:40 +03:00
2018-09-04 16:45:02 -07:00
2018-02-21 15:35:42 -08:00