[lkml]   [2020]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v3 0/2] kstats: kernel metric collector
On Wed, Feb 26, 2020 at 09:26:22AM -0800, Luigi Rizzo wrote:
> Any pointers to this are welcome; Alexei mentioned fentry/fexit and
> bpf trampolines, but I haven't found an example that lets me do something
> equivalent to kretprobe (take a timestamp before and one after a function
> without explicit instrumentation)

please see the link in my previous email.

> - I still see some huge differences in usability, and this is in my opinion
> one very big difference between the two approaches. The systems where data
> collection may be of interest are not necessarily accessible to developers
> with the skills to write custom bpf code,

bpf code and tooling is already written. There are bcc and bpftrace scripts
that already do what you're proposing without adding any new code to the kernel.
These tools are trivial to use. Requires zero knowledge in bpf.
So please stop the fud.

 \ /
  Last update: 2020-02-26 21:51    [W:0.102 / U:1.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site