diff options
author | Jiri Olsa <[email protected]> | 2013-09-12 18:39:36 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2013-09-24 14:13:46 -0300 |
commit | 4921e320244e099bdf237fd10428594ce5f5b87d (patch) | |
tree | d663eff268832542768e4fdc464fb2c8ee936fe6 /tools/perf/util/trace-event-scripting.c | |
parent | cf3b425dd8d99e01214515a6754f9e69ecc6dce8 (diff) |
perf kmem: Make it work again on non NUMA machines
The commit '2814eb0 perf kmem: Remove die() calls' disabled 'perf kmem'
command for machines without numa support. It made the command fail if
'/sys/devices/system/node' dir wasn't found.
Skipping the numa based initialization in case the directory is not
found and continue execution.
Signed-off-by: Jiri Olsa <[email protected]>
Cc: Corey Ashford <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions