perf kmem: Add more functions and show more statistics
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 20 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | perf kmem: Add new option to show raw iptools/ | +10 | 1 reply | |
| 2/5 | perf kmem: Default to sort by fragmentationtools/ | +108 | 1 reply | |
| 3/5 | perf kmem: Collect cross node allocation statisticstools/ | +79 | 1 reply | |
| 4/5 | perf kmem: Measure kmalloc/kfree CPU ping-pong call-sitestools/ | +94 | 1 reply | |
| 5/5 | perf kmem: Add help filetools/ tools/ | +45 | 1 reply |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Pekka Enberg |
|---|---|
| Series | A-b |
| 1/5 | A-b |
| 2/5 | A-b |
| 3/5 | A-b |
| 4/5 | A-b |
| 5/5 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] perf kmem: Add more functions and show more statistics
List of new things:
- Add option "--raw-ip", to print raw ip instead of symbols.
- Sort the output by fragmentation by default, and support multi keys.
- Collect and show cross node allocation stats.
- Collect and show alloc/free ping-pong stats.
- And help file.
--- tools/perf/Documentation/perf-kmem.txt | 44 ++++ tools/perf/builtin-kmem.c | 353 ++++++++++++++++++++++++++------ tools/perf/command-list.txt | 1 + 3 files changed, 331 insertions(+), 67 deletions(-)
Pekka, do you think we can remove kmemtrace now?
With kmem trace events, low-level analyzing can be done using ftrace, and high-level analyzing can be done using perf-kmem.
And chance is, more people may use and improve perf-kmem, and it will be well-maintained within the perf infrastructure. On the other hand, I guess few people use and contribute to kmemtrace-user.
BTW, seems kmemtrace-user doesn't work with ftrace. I got setfault:
# ./kmemtraced Copying /proc/kallsyms... Logging... Press Control-C to stop. ^CSegmentation fault