Messages in this thread | | | Date | Tue, 5 May 2015 12:39:52 -0300 | From | Arnaldo Carvalho de Melo <> | Subject | Re: [RFC PATCH 00/22] perf tools: introduce 'perf bpf' command to load eBPF programs. |
| |
Em Fri, May 01, 2015 at 09:56:23AM -0700, Alexei Starovoitov escreveu: > Anyway, back to my original question about long term home. > where to land 'perf/bpf' branch ?
I don't care, but for me to merge it, please go on addressing the comments made in this thread (perf bpf command --args, etc) and at some point provide a small patchset that implements the most basic stuff, like, say, a "hello, world" style proggie, together with the tools/perf/Documentation/perf-bpf.txt file, detailed instructions on how to use the feature, i.e. what dependencies are needed, what kernel options should be enabled, etc.
Nice warning/error messages for when the user doesn't have those options enabled or doesn't have appropriate permissions, etc.
I.e. just by following what is in each changeset comment log I should be able to test patch after patch.
After we get one such, say, 10-long patchkit with a very basic feature of eBPF exposed via 'perf bpf', we can go to the next, and so on.
Try to use 'perf trace usleep 1', 'perf trace -a usleep 1' as non-root, for instance, to see examples on how to inform the user about what is needed to use the tool.
- Arnaldo
| |