Re: [PATCH v2 RESEND] trace_uprobe: support reference counter in fd-based uprobe

2018-10-10 Thread Steven Rostedt
On Thu, 4 Oct 2018 16:55:47 + Song Liu wrote: > > Works for me, > > > > Acked-by: Peter Zijlstra (Intel) > > Thanks Peter! > > Steven, could you please test/apply this? Sorry for the late reply. Yeah, I just pulled this into my queue and I've started running tests on it. Thanks Song

Re: [PATCH v2 RESEND] trace_uprobe: support reference counter in fd-based uprobe

2018-10-04 Thread Song Liu
> On Oct 2, 2018, at 1:12 AM, Peter Zijlstra 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.confi

Re: [PATCH v2 RESEND] trace_uprobe: support reference counter in fd-based uprobe

2018-10-02 Thread Peter Zijlstra
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).

[PATCH v2 RESEND] trace_uprobe: support reference counter in fd-based uprobe

2018-10-01 Thread Song Liu
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/