Thread (44 messages) 44 messages, 5 authors, 2025-05-09

Re: [PATCH v5 13/17] perf: Support deferred user callchains

From: Steven Rostedt <rostedt@goodmis.org>
Date: 2025-05-09 15:55:42
Also in: linux-perf-users, linux-toolchains, lkml

On Fri, 9 May 2025 08:45:46 -0700
Namhyung Kim [off-list ref] wrote:
quoted
Is it possible to have many threads writing into the same
ring buffer in that scenario ? Are all event records stamped
with their associated PID ? As long as we have enough information
to know which thread was associated with the timestamp cookie
on both ends (request for callchain and saving the user callchain
on return to userspace), we should be OK.  
Yep, basically perf sets PERF_SAMPLE_TID (and sample_id_all) which makes
every records come with PID/TID.. 
If LTTng is fine with this too, then we should be OK as perf and ftrace
both record TID in the events. I'm assuming that BPF would be OK too.

-- Steve
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help