summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-stat.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2016-06-06 07:36:06 -0700
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-06-06 12:11:14 -0300
commit17a2634bcb88e52bd637fdaa47d7ff0bddb0188f (patch)
treed6200b8e3de24c787a79e5b3dbfa568cd381f9bb /tools/perf/builtin-stat.c
parent40f20e5074b035c7111e135aa939d1d1a96a2480 (diff)
downloadlinux-stable-17a2634bcb88e52bd637fdaa47d7ff0bddb0188f.tar.gz
linux-stable-17a2634bcb88e52bd637fdaa47d7ff0bddb0188f.tar.bz2
linux-stable-17a2634bcb88e52bd637fdaa47d7ff0bddb0188f.zip
perf test: Ignore .scale and other special files
'perf test' tries to parse all entries in /sys/devices/cpu/events/. Ignore the special entries like '.scale', which cannot be directly parsed as an event. This patch assumes all files containing a '.' are special and can be ignored. Reported-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Andi Kleen <ak@linux.intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Link: http://lkml.kernel.org/r/1465223766-29902-1-git-send-email-andi@firstfloor.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-stat.c')
0 files changed, 0 insertions, 0 deletions