diff options
author | Song Liu <songliubraving@fb.com> | 2018-10-01 22:36:36 -0700 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2018-10-10 22:14:17 -0400 |
commit | a6ca88b241d5e929e6e60b12ad8cd288f0ffa256 (patch) | |
tree | abb90d380a5c6e7ecd190b3a67745058b96fe564 /kernel/torture.c | |
parent | 5a5e3d3ceae2121590d67258a4e658d938b4a46d (diff) | |
download | blackbird-obmc-linux-a6ca88b241d5e929e6e60b12ad8cd288f0ffa256.tar.gz blackbird-obmc-linux-a6ca88b241d5e929e6e60b12ad8cd288f0ffa256.zip |
trace_uprobe: support reference counter in fd-based uprobe
This patch enables uprobes with reference counter in fd-based uprobe.
Highest 32 bits of perf_event_attr.config is used to stored offset
of the reference count (semaphore).
Format information in /sys/bus/event_source/devices/uprobe/format/ is
updated to reflect this new feature.
Link: http://lkml.kernel.org/r/20181002053636.1896903-1-songliubraving@fb.com
Cc: Oleg Nesterov <oleg@redhat.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-and-tested-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
Signed-off-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/torture.c')
0 files changed, 0 insertions, 0 deletions