Messages in this thread | | | From | Song Liu <> | Subject | Re: [PATCH v2 RESEND] trace_uprobe: support reference counter in fd-based uprobe | Date | Thu, 4 Oct 2018 16:55:47 +0000 |
| |
> On Oct 2, 2018, at 1:12 AM, Peter Zijlstra <peterz@infradead.org> wrote: > > On Mon, Oct 01, 2018 at 10:36:36PM -0700, Song Liu wrote: >> Changes v1 -> v2: Fix PMU_FORMAT_ATTR as Peter suggested >> >> 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. >> >> Signed-off-by: Song Liu <songliubraving@fb.com> >> Reviewed-and-tested-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com> >> Cc: Oleg Nesterov <oleg@redhat.com> >> Cc: Steven Rostedt (VMware) <rostedt@goodmis.org> >> Cc: Peter Zijlstra <peterz@infradead.org> > > Works for me, > > Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Thanks Peter!
Steven, could you please test/apply this?
Best, Song
| |