diff options
| author | Namhyung Kim <[email protected]> | 2015-05-05 23:52:52 +0900 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-05-05 18:13:08 -0300 |
| commit | a923e2c4b14f99f70692f82ee7bd63717604b738 (patch) | |
| tree | 6fdc2108b0e5f881bc4f32ede0af474543593c67 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | b1019d5e6e605190d008003a382407f23e19f807 (diff) | |
perf kmem: Show warning when trying to run stat without record
Sometimes one can mistakenly run 'perf kmem stat' without running 'perf
kmem record' before or with a different configuration like recording
--slab and stat --page. Show a warning message like the one below to
inform the user:
# perf kmem stat --page --caller
No page allocation events found. Have you run 'perf kmem record --page'?
Signed-off-by: Namhyung Kim <[email protected]>
Acked-by: Pekka Enberg <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions