linux/tools/perf
Jiri Olsa e7fa68ba61 perf kmem: Make it work again on non NUMA machines
commit 4921e32024 upstream.

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 <jolsa@redhat.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1379003976-5839-5-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: zhangzhiqiang <zhangzhiqiang.zhang@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-10-05 14:54:14 -07:00
..
arch
bench
config perf tools: Revert regression in configuration of Python support 2013-08-04 16:51:17 +08:00
Documentation perf tools: Add new mem command for memory access profiling 2013-04-01 12:21:44 -03:00
python
scripts perf: net_dropmonitor: Remove progress indicator 2013-05-22 15:10:11 -07:00
tests Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2013-04-30 09:36:50 -07:00
ui perf tools: Remove cast of non-variadic function to variadic 2013-12-04 10:55:49 -08:00
util perf evsel: Fix printing of perf_event_paranoid message 2014-06-11 12:03:22 -07:00
.gitignore
bash_completion
builtin-annotate.c perf tools: Add support for weight v7 (modified) 2013-04-01 12:19:43 -03:00
builtin-bench.c
builtin-buildid-cache.c
builtin-buildid-list.c
builtin-diff.c perf tools: Add support for weight v7 (modified) 2013-04-01 12:19:43 -03:00
builtin-evlist.c
builtin-help.c
builtin-inject.c
builtin-kmem.c perf kmem: Make it work again on non NUMA machines 2014-10-05 14:54:14 -07:00
builtin-kvm.c
builtin-list.c
builtin-lock.c
builtin-mem.c perf tools: Add new mem command for memory access profiling 2013-04-01 12:21:44 -03:00
builtin-probe.c
builtin-record.c perf tools: Add support for weight v7 (modified) 2013-04-01 12:19:43 -03:00
builtin-report.c perf tools: Remove dependency on libnewt 2013-04-01 12:23:21 -03:00
builtin-sched.c Revert "perf sched: Handle PERF_RECORD_EXIT events" 2013-04-01 12:22:34 -03:00
builtin-script.c
builtin-stat.c perf stat: Add per-core aggregation 2013-03-25 16:13:26 -03:00
builtin-timechart.c
builtin-top.c perf tools: Add support for weight v7 (modified) 2013-04-01 12:19:43 -03:00
builtin-trace.c perf trace: Free evlist resources properly on return path 2013-03-15 13:06:11 -03:00
builtin.h perf tools: Add new mem command for memory access profiling 2013-04-01 12:21:44 -03:00
command-list.txt perf tools: Add new mem command for memory access profiling 2013-04-01 12:21:44 -03:00
CREDITS
design.txt
Makefile perf tools: Remove dependency on libnewt 2013-04-01 12:23:21 -03:00
MANIFEST
perf-archive.sh
perf.c perf tools: Convert needless static variable to local 2013-04-01 12:22:48 -03:00
perf.h perf tools: Add support for weight v7 (modified) 2013-04-01 12:19:43 -03:00