[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230414082300.34798-1-adrian.hunter@intel.com>
Date: Fri, 14 Apr 2023 11:22:55 +0300
From: Adrian Hunter <adrian.hunter@...el.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Jiri Olsa <jolsa@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
Ian Rogers <irogers@...gle.com>,
linux-perf-users@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH RFC 0/5] perf: Add ioctl to emit sideband events
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
Powered by blists - more mailing lists