linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC 0/5] perf: Add ioctl to emit sideband events
@ 2023-04-14  8:22 Adrian Hunter
  2023-04-14  8:22 ` [PATCH RFC 1/5] " Adrian Hunter
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Adrian Hunter @ 2023-04-14  8:22 UTC (permalink / raw)
  To: Peter Zijlstra
  Cc: Ingo Molnar, Arnaldo Carvalho de Melo, Mark Rutland,
	Alexander Shishkin, Jiri Olsa, Namhyung Kim, Ian Rogers,
	linux-perf-users, linux-kernel

Hi

Here is a stab at adding an ioctl for sideband events.

This is to overcome races when reading the same information
from /proc.

To keep it simple, the ioctl is limited to emitting existing
sideband events (fork, namespaces, comm, mmap) to an already
active context.

There are not yet any perf tools patches at this stage.


Adrian Hunter (5):
      perf: Add ioctl to emit sideband events
      perf: Add fork to the sideband ioctl
      perf: Add namespaces to the sideband ioctl
      perf: Add comm to the sideband ioctl
      perf: Add mmap to the sideband ioctl

 include/uapi/linux/perf_event.h |  19 ++-
 kernel/events/core.c            | 315 +++++++++++++++++++++++++++++++++-------
 2 files changed, 280 insertions(+), 54 deletions(-)


Regards
Adrian

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2023-04-18 15:52 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-14  8:22 [PATCH RFC 0/5] perf: Add ioctl to emit sideband events Adrian Hunter
2023-04-14  8:22 ` [PATCH RFC 1/5] " Adrian Hunter
2023-04-17 10:57   ` Peter Zijlstra
2023-04-18  6:29     ` Adrian Hunter
2023-04-14  8:22 ` [PATCH RFC 2/5] perf: Add fork to the sideband ioctl Adrian Hunter
2023-04-14  8:22 ` [PATCH RFC 3/5] perf: Add namespaces " Adrian Hunter
2023-04-14  8:22 ` [PATCH RFC 4/5] perf: Add comm " Adrian Hunter
2023-04-14  8:23 ` [PATCH RFC 5/5] perf: Add mmap " Adrian Hunter
2023-04-17 11:02 ` [PATCH RFC 0/5] perf: Add ioctl to emit sideband events Peter Zijlstra
2023-04-17 16:37   ` Ian Rogers
2023-04-18  7:03     ` Adrian Hunter
2023-04-18  6:18   ` Adrian Hunter
2023-04-18 13:36     ` Adrian Hunter
2023-04-18 15:51       ` Ian Rogers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).