Messages in this thread | | | From | Adrian Hunter <> | Subject | [PATCH RFC 0/5] perf: Add ioctl to emit sideband events | Date | Fri, 14 Apr 2023 11:22:55 +0300 |
| |
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
| |