Thread (4 messages) flat view 4 messages, 4 authors, 2020-01-09

Re: [PATCH bpf-next] selftests/bpf: restore original comm in test_overhead

From: Song Liu <song@kernel.org>
Date: 2020-01-09 01:05:12
Also in: bpf

On Wed, Jan 8, 2020 at 3:19 PM Petar Penkov [off-list ref] wrote:
On Wed, Jan 8, 2020 at 11:49 AM Stanislav Fomichev [off-list ref] wrote:
quoted
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 <redacted>
Acked-by: Petar Penkov <redacted>
Acked-by: Song Liu <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help