aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2017-11-14 00:15:42 +0000
committerArnaldo Carvalho de Melo <[email protected]>2017-11-16 17:49:59 +0000
commit2f0af8600e82e9f950fc32908386b9c639f88d48 (patch)
tree09997ef0c9f5359299164ec8e54bc744b60b840c /tools/perf/util/annotate.c
parentperf machine: Guard against NULL in machine__exit() (diff)
downloadkernel-2f0af8600e82e9f950fc32908386b9c639f88d48.tar.gz
kernel-2f0af8600e82e9f950fc32908386b9c639f88d48.zip
perf help: Fix a bug during strstart() conversion
The commit 8e99b6d4533c changed prefixcmp() to strstart() but missed to change the return value in some place. It makes perf help print annoying output even for sane config items like below: $ perf help '.root': unsupported man viewer sub key. ... Reported-by: Arnaldo Carvalho de Melo <[email protected]> Signed-off-by: Namhyung Kim <[email protected]> Tested-by: Arnaldo Carvalho de Melo <[email protected]> Tested-by: Taeung Song <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Sihyeon Jang <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/20171114001542.GA16464@sejong Fixes: 8e99b6d4533c ("tools include: Adopt strstarts() from the kernel") Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions