pá 17. 1. 2025 v 16:29 odesílatel Steven Rostedt <rost...@goodmis.org> napsal: > Hmm, the timerlat event could probably get access to a trigger to allow it > to do the work in the kernel like what the 'hist' triggers do. We can > extend on that. >
If we only need to count the numbers, that would be a perfect solution: use the hist trigger in place of the BPF program (no need to reinvent the wheel!). I'll have to look at exactly what we need. > The reason I haven't written a BPF program yet, is because when I feel > there's a useful operation that can be done, I just extend ftrace to do it > ;-) I used to work with BPF, so I usually think of a BPF solution first, then I think about whether I can replace the BPF part :D Tomas