[RFC PATCH v2 0/3] perf/tracefs: Container-aware tracing support

From: Hari Bathini
Date: Wed Jul 27 2016 - 17:27:36 EST


This RFC patch set supports filtering container specific events
when perf tool is executed inside a container. The patches apply
cleanly on v4.7.0-rc7

Changes from v1:
1/3. Revived earlier approach[1] with cgroup namespace instead
of pid namespace
2/3. New patch that adds instance support for uprobe events in
tracefs filesystem
3/3. New patch that adds "newinstance" mount option for tracefs
filesystem

[1] https://lkml.org/lkml/2015/7/15/192

---

Aravinda Prasad (1):
perf: filter container events based on cgroup namespace

Hari Bathini (2):
tracefs: add instances support for uprobe events
tracefs: add 'newinstance' mount option


fs/tracefs/inode.c | 171 ++++++++++++++++++++++++++++++++++--------
include/linux/trace_events.h | 3 -
include/linux/tracefs.h | 11 ++-
kernel/events/core.c | 51 +++++++++----
kernel/trace/trace.c | 54 +++++++++----
kernel/trace/trace.h | 12 +++
kernel/trace/trace_events.c | 15 +++-
kernel/trace/trace_kprobe.c | 2
kernel/trace/trace_uprobe.c | 158 ++++++++++++++++++++++++++++-----------
9 files changed, 361 insertions(+), 116 deletions(-)