Re: [PATCH 11/48] perf data: Support converting data from bpf_perf_event_output()

From: Arnaldo Carvalho de Melo
Date: Tue Feb 23 2016 - 11:14:52 EST


Em Mon, Feb 22, 2016 at 09:10:38AM +0000, Wang Nan escreveu:
> bpf_perf_event_output() outputs data through sample->raw_data. This
> patch adds support to convert those data into CTF. A python script
> then can be used to process output data from BPF programs.
>
> Test result:

Trying to test this I get:

[acme@jouet linux]$ make O=/tmp/build/perf LIBBABELTRACE=1 -C tools/perf install-bin 2>&1 | grep babel
config/Makefile:663: No libbabeltrace found, disables 'perf data' CTF format support, please install libbabeltrace-dev[el]/libbabeltrace-ctf-dev
[acme@jouet linux]$ rpm -q libbabeltrace-devel
libbabeltrace-devel-1.2.4-2.fc23.x86_64
[acme@jouet linux]$

Guess we better improve this message... Anyway, trying to find libbabeltrace's
git tree to see if with its master branch this works...

- Arnaldo