Home
last modified time | relevance | path

Searched refs:bpf_metadata (Results 1 – 9 of 9) sorted by relevance

/linux/tools/perf/util/
H A Dbpf-event.h20 struct bpf_metadata { struct
28 struct bpf_metadata *metadata; argument
46 void bpf_metadata_free(struct bpf_metadata *metadata);
68 static inline void bpf_metadata_free(struct bpf_metadata *metadata __maybe_unused) in bpf_metadata_free()
H A Dbpf-event.c342 static struct bpf_metadata *bpf_metadata_alloc(__u32 nr_prog_tags, in bpf_metadata_alloc()
345 struct bpf_metadata *metadata; in bpf_metadata_alloc()
348 metadata = zalloc(sizeof(struct bpf_metadata)); in bpf_metadata_alloc()
366 event_size = sizeof(metadata->event->bpf_metadata) + in bpf_metadata_alloc()
367 nr_variables * sizeof(metadata->event->bpf_metadata.entries[0]); in bpf_metadata_alloc()
373 metadata->event->bpf_metadata = (struct perf_record_bpf_metadata) { in bpf_metadata_alloc()
384 static struct bpf_metadata *bpf_metadata_create(struct bpf_prog_info *info) in bpf_metadata_create()
386 struct bpf_metadata *metadata; in bpf_metadata_create()
399 bpf_metadata_fill_event(&map, &metadata->event->bpf_metadata); in bpf_metadata_create()
415 static int synthesize_perf_record_bpf_metadata(const struct bpf_metadata *metadata, in synthesize_perf_record_bpf_metadata()
[all …]
H A Dtool.h81 bpf_metadata; member
H A Dtool.c309 tool->bpf_metadata = perf_event__process_bpf_metadata_stub; in perf_tool__init()
H A Devent.c514 struct perf_record_bpf_metadata *metadata = &event->bpf_metadata; in perf_event__fprintf_bpf_metadata()
H A Dsession.c1500 err = tool->bpf_metadata(session, event); in perf_session__process_user_event()
/linux/tools/lib/perf/include/perf/
H A Devent.h551 struct perf_record_bpf_metadata bpf_metadata; member
/linux/tools/perf/
H A Dbuiltin-inject.c2539 inject.tool.bpf_metadata = perf_event__repipe_op2_synth; in cmd_inject()
H A Dbuiltin-script.c2919 script->tool.bpf_metadata = process_bpf_metadata_event; in __cmd_script()