Subject: Re: [PATCH net-next 2/3] bpf: introduce bpf_perf_event_output() helper

From: Alexei Starovoitov <[email-masked]>
Date: Wed, 21 Oct 2015 13:04:41 -0700

On 10/21/15 4:05 AM, Wangnan (F) wrote:
> I think we can
> make perf output raw data hexadamically at first.

that would be my suggestion as well.
print it as hex first and when llvm type info is available you can teach
perf to be smarter.
We're working on support for this feature in iovisor/bcc
without requiring extra llvm work, since we can generate
python classes on the fly from C code of bpf program.