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

From: Alexei Starovoitov
Date: Wed Oct 21 2015 - 16:08:44 EST


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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/