diff options
author | Song Liu <songliubraving@fb.com> | 2018-10-02 08:36:36 +0300 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2018-10-11 05:14:17 +0300 |
commit | a6ca88b241d5e929e6e60b12ad8cd288f0ffa256 (patch) | |
tree | abb90d380a5c6e7ecd190b3a67745058b96fe564 /lib/locking-selftest-softirq.h | |
parent | 5a5e3d3ceae2121590d67258a4e658d938b4a46d (diff) | |
download | linux-a6ca88b241d5e929e6e60b12ad8cd288f0ffa256.tar.xz |
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 'lib/locking-selftest-softirq.h')
0 files changed, 0 insertions, 0 deletions