From: Peter Zijlstra <peterz@infradead.org>
To: Song Liu <songliubraving@fb.com>
Cc: linux-kernel@vger.kernel.org, kernel-team@fb.com,
Oleg Nesterov <oleg@redhat.com>,
Steven Rostedt <rostedt@goodmis.org>
Subject: Re: [PATCH v2 RESEND] trace_uprobe: support reference counter in fd-based uprobe
Date: Tue, 2 Oct 2018 10:12:06 +0200 [thread overview]
Message-ID: <20181002081206.GS3439@hirez.programming.kicks-ass.net> (raw)
In-Reply-To: <20181002053636.1896903-1-songliubraving@fb.com>
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>
next prev parent reply other threads:[~2018-10-02 8:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-02 5:36 [PATCH v2 RESEND] trace_uprobe: support reference counter in fd-based uprobe Song Liu
2018-10-02 8:12 ` Peter Zijlstra [this message]
2018-10-04 16:55 ` Song Liu
2018-10-11 1:58 ` Steven Rostedt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181002081206.GS3439@hirez.programming.kicks-ass.net \
--to=peterz@infradead.org \
--cc=kernel-team@fb.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oleg@redhat.com \
--cc=rostedt@goodmis.org \
--cc=songliubraving@fb.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox