summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/probe-event.c
diff options
context:
space:
mode:
authorJuha Leppanen <juha_motorsportcom@luukku.com>2009-12-07 12:00:40 -0500
committerIngo Molnar <mingo@elte.hu>2009-12-07 18:33:20 +0100
commitd56728b8d7fb3e1e5e5f97b88fdf6b43a35b4f5e (patch)
tree3188acba441b24355f15eb23d8d167806b164085 /tools/perf/util/probe-event.c
parentd32ba45503acf9c23b301eba2397ca2ee322627b (diff)
perf probe: Fix strtailcmp() to compare s1and s2[0]
Fix strtailcmp() to compare s1[0] and s2[0]. strtailcmp() returns 0 if "a" and "b" or "a" and "ab", it's a wrong behavior. This patch fixes it. Signed-off-by: "Juha Leppanen" <juha_motorsportcom@luukku.com> Acked-by: Masami Hiramatsu <mhiramat@redhat.com> Cc: systemtap <systemtap@sources.redhat.com> Cc: DLE <dle-develop@lists.sourceforge.net> Cc: Juha Leppanen <juha_motorsportcom@luukku.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> LKML-Reference: <20091207170040.19230.37464.stgit@dhcp-100-2-132.bos.redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/probe-event.c')
0 files changed, 0 insertions, 0 deletions