perf c2c: Detect shared memory cachelines
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | perf tools: Remove /SYSV from no_dso mapstools/ tools/ tools/ | +10 | 3 replies | |
| 2/4 | perf c2c: Add shared mem flagtools/ | +49 | 0 replies | |
| 3/4 | perf c2c: Add map name for cachelinetools/ | +33 | 0 replies | |
| 4/4 | perf c2c report: Add --detect-shm optiontools/ | +66 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] perf c2c: Detect shared memory cachelines
Hello.
Currently, perf-c2c tool has no means to discover a scenario when there is a single cacheline in shared memory, which is mapped to multiple different virtual addresses.
This patchset adds a mechanism to detect this. First, an "S" flag suggests that such scenario may occur (a cacheline in shared memory is captured). Additinally, another option is added (--detect-shm), which zooms to the SHM cacheline and shows the physical addresses too.
Jiri Olsa has drafted this feature some time ago. I have rebased it to current kernel repository shape and reworked several things in it after some discussions with Joe Mario.
Thanks for thoughts and comments.
Michael
Michael Petlan (4):
perf tools: Remove /SYSV from no_dso maps
perf c2c: Add shared mem flag
perf c2c: Add map name for cacheline
perf c2c report: Add --detect-shm option
tools/perf/builtin-c2c.c | 178 +++++++++++++++++++++++++++++------- tools/perf/builtin-inject.c | 4 +- tools/perf/util/map.c | 5 +- tools/perf/util/map.h | 6 +- 4 files changed, 154 insertions(+), 39 deletions(-)
Signature · 1 line
2.47.3