On Wed, Feb 27, 2019 at 09:06:37PM -0800, Song Liu wrote:
SNIP
>
> +static int process_bpf_btf(struct feat_fd *ff, void *data __maybe_unused)
> +{
> + struct perf_env *env = >ph->env;
> + u32 count, i;
> +
> + if (do_read_u32(ff, ))
> + return -1;
> +
> +
This patch enables perf-record to save btf information as headers to
perf.data A new header type HEADER_BPF_BTF is introduced for this data.
Signed-off-by: Song Liu
---
tools/perf/util/header.c | 108 ++-
tools/perf/util/header.h | 1 +
2 files changed, 108
2 matches
Mail list logo