aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorDaniel Borkmann <[email protected]>2017-01-26 00:42:49 +0100
committerDavid S. Miller <[email protected]>2017-01-25 23:15:28 -0500
commit0901df3aeaee6cb5dde2fd51089786aff6225ebf (patch)
treed55161ddc68c74ec75faa8bfd219a6e593a14c17 /tools/perf/util/scripting-engines/trace-event-python.c
parent1541f98cc252fac55d4e7cc933deddf341ff1710 (diff)
bpf: use prefix_len in test_tag when reading fdinfo
We currently used len instead of prefix_len for the strncmp() in fdinfo on the prog_tag. It still worked as we matched on the correct output line also with first 8 instead of 10 chars, but lets fix it properly to use the intended length. Fixes: 62b64660262a ("bpf: add prog tag test case to bpf selftests") Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Alexei Starovoitov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions