diff options
| author | Stanislav Fomichev <[email protected]> | 2020-01-08 11:21:32 -0800 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-01-09 08:42:07 -0800 |
| commit | e43002242a47e8d7b2f9446f54de982f09e7dbd1 (patch) | |
| tree | f60e38d0eed3125391cb1677beab3e3b85ba7e93 /tools/perf/scripts/python/bin | |
| parent | 2faef64aa6b3c94c940c3a62ed22f3af4980223a (diff) | |
selftests/bpf: Restore original comm in test_overhead
test_overhead changes task comm in order to estimate BPF trampoline
overhead but never sets the comm back to the original one.
We have the tests (like core_reloc.c) that have 'test_progs'
as hard-coded expected comm, so let's try to preserve the
original comm.
Currently, everything works because the order of execution is:
first core_recloc, then test_overhead; but let's make it a bit
future-proof.
Other related changes: use 'test_overhead' as new comm instead of
'test' to make it easy to debug and drop '\n' at the end.
Signed-off-by: Stanislav Fomichev <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Petar Penkov <[email protected]>
Acked-by: Song Liu <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions