RFC perf: Add ioctl to emit sideband events
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest5 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | perf: Add ioctl to emit sideband eventsinclude/ kernel/ | +103 | 2 replies | |
| 2/5 | perf: Add fork to the sideband ioctlkernel/ | +73 | 0 replies | |
| 3/5 | perf: Add namespaces to the sideband ioctlkernel/ | +16 | 0 replies | |
| 4/5 | perf: Add comm to the sideband ioctlkernel/ | +19 | 0 replies | |
| 5/5 | perf: Add mmap to the sideband ioctlkernel/ | +73 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [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