Re: bcc, bpf_perf_event_output(), and the upcoming Ubuntu 16.04 LTS
Brendan Gregg
On Fri, Feb 12, 2016 at 10:13 AM, Allan McAleavy <allan.mcaleavy@...> wrote:
Yes, lets have tools/old, to keep it simple.
Great! I've been using bpf_perf_event_output() too (see my PR for ext4slower/xfslower), and had a few nits I need to file tickets on (I labeled some things in the code as "workaround", like it not liking u32's in the data_t). So if you ran into similar issues, you weren't alone.
Sounds good. Just put the tool into tools/old, and add "This makes use of a Linux 4.5 feature (bpf_perf_event_output()); for kernels older than 4.5, see the version under tools/old, which uses an older mechanism." Brendan
|
|