Re: [PATCH 7.1.y] Revert "tracing: perf: Fix stale head for perf syscall tracing"

Sasha Levin <[email protected]>
Newsgroups org.kernel.vger.linux-trace-kernel,org.kernel.vger.bpf,org.kernel.vger.linux-kernel,org.kernel.vger.stable
Message-ID <[email protected]>
> The 7.1.y implementation has not undergone that restructuring. It handles
> BPF and perf consumers together, and already reloads the current CPU's
> perf event list after syscall_get_data().

The analysis checks out on 7.1.y: 57918341dd19 ("bpf: Add sleepable
support for classic tracepoint programs") is not there, so the added
hlist_empty() early return runs before bpf_prog_array_valid() is ever
consulted and a BPF-only consumer stops firing.

Since this reverts a commit that already shipped in 7.1.6, I would like
your test result before queueing it - you mentioned you would have one
today. Ping the thread once you do and I will pick it up.

-- 
Thanks,
Sasha
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.