summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/pmu.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2017-01-27 18:03:36 -0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-02-08 08:55:02 -0300
commitd581141970ef3965c1624960fa928d765afd8a3e (patch)
tree540642ce441418072cae109f6ba9db86075f2834 /tools/perf/util/pmu.c
parent4d416436f382c64675910bc2cd41ef6e57a249f6 (diff)
downloadlinux-stable-d581141970ef3965c1624960fa928d765afd8a3e.tar.gz
linux-stable-d581141970ef3965c1624960fa928d765afd8a3e.tar.bz2
linux-stable-d581141970ef3965c1624960fa928d765afd8a3e.zip
perf jevents: Parse eventcode as number
The next patch needs to modify event code. Previously eventcode was just passed through as a string. Now parse it as a number. v2: Don't special case 0 Signed-off-by: Andi Kleen <ak@linux.intel.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Link: http://lkml.kernel.org/r/20170128020345.19007-2-andi@firstfloor.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/pmu.c')
0 files changed, 0 insertions, 0 deletions