Pull perf/core fixes and improvements from Arnaldo Carvalho de Melo: kernel + tools/perf: Alexey Budankov: - Introduce CAP_PERFMON to kernel and user space. callchains: Adrian Hunter: - Allow using Intel PT to synthesize callchains for regular events. Kan Liang: - Stitch LBR records from multiple samples to get deeper backtraces, there are caveats, see the csets for details. perf script: Andreas Gerstmayr: - Add flamegraph.py script BPF: Jiri Olsa: - Synthesize bpf_trampoline/dispatcher ksymbol events. perf stat: Arnaldo Carvalho de Melo: - Honour --timeout for forked workloads. Stephane Eranian: - Force error in fallback on :k events, to avoid counting nothing when the user asks for kernel events but is not allowed to. perf bench: Ian Rogers: - Add event synthesis benchmark. tools api fs: Stephane Eranian: - Make xxx__mountpoint() more scalable libtraceevent: He Zhe: - Handle return value of asprintf.
Showing the changes to include/uapi/linux (1 of 85 files). Show all
Unified · Split
| @@ -367,8 +367,14 @@ struct vfs_ns_cap_data { · 366 unmodified lines | |||
| 367 | 367 | ||
| 368 | #define CAP_AUDIT_READ 37 | 368 | #define CAP_AUDIT_READ 37 |
| 369 | 369 | ||
| 370 | /* | ||
| 371 | * Allow system performance and observability privileged operations | ||
| 372 | * using perf_events, i915_perf and other kernel subsystems | ||
| 373 | */ | ||
| 374 | |||
| 375 | #define CAP_PERFMON 38 | ||
| 370 | 376 | ||
| 371 | #define CAP_LAST_CAP CAP_AUDIT_READ | 377 | #define CAP_LAST_CAP CAP_PERFMON |
| 372 | 378 | ||
| 373 | #define cap_valid(x) ((x) >= 0 && (x) <= CAP_LAST_CAP) | 379 | #define cap_valid(x) ((x) >= 0 && (x) <= CAP_LAST_CAP) |
| 374 | 380 | ||