aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2022-07-19 12:53:01 +0300
committerDaniel Borkmann <[email protected]>2022-07-21 14:30:25 +0200
commit14229b8153a3ca51d97a22a18c68deeae64afce0 (patch)
tree52bce323f3f42e5cab42a79f9f3bff4dd78bde8b /tools/perf/scripts/python/intel-pt-events.py
parentc6018fc6e7b6fcc4ac5430870c2e8b4ca556621a (diff)
libbpf: Fix str_has_sfx()'s return value
The return from strcmp() is inverted so it wrongly returns true instead of false and vice versa. Fixes: a1c9d61b19cb ("libbpf: Improve library identification for uprobe binary path resolution") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Martin KaFai Lau <[email protected]> Cc: Alan Maguire <[email protected]> Link: https://lore.kernel.org/bpf/YtZ+/dAA195d99ak@kili
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions