summaryrefslogtreecommitdiff
path: root/tools/perf/trace
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2017-11-14 03:15:42 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-11-16 20:49:59 +0300
commit2f0af8600e82e9f950fc32908386b9c639f88d48 (patch)
tree09997ef0c9f5359299164ec8e54bc744b60b840c /tools/perf/trace
parent19993b82a571893e661afd90f1d77fa698785cee (diff)
downloadlinux-2f0af8600e82e9f950fc32908386b9c639f88d48.tar.xz
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 <acme@redhat.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org> Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com> Tested-by: Taeung Song <treeze.taeung@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Sihyeon Jang <uneedsihyeon@gmail.com> Cc: kernel-team@lge.com 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 <acme@redhat.com>
Diffstat (limited to 'tools/perf/trace')
0 files changed, 0 insertions, 0 deletions