lkml.org 
[lkml]   [2018]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v2 RESEND] trace_uprobe: support reference counter in fd-based uprobe
Date


> 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

\
 
 \ /
  Last update: 2018-10-04 19:18    [W:0.131 / U:0.996 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site