Home
last modified time | relevance | path

Searched refs:perf_dlfilter_sample (Results 1 – 7 of 7) sorted by relevance

/linux/tools/perf/dlfilters/
H A Ddlfilter-test-api-v0.c37 struct perf_dlfilter_sample { struct
185 static int check_sample(struct filter_data *d, const struct perf_dlfilter_sample *sample) in check_sample()
187 struct perf_dlfilter_sample expected = { in check_sample()
202 CHECK(sample->size >= sizeof(struct perf_dlfilter_sample)); in check_sample()
257 static int check_address_al(void *ctx, const struct perf_dlfilter_sample *sample) in check_address_al()
292 static int check_object_code(void *ctx, const struct perf_dlfilter_sample *sample) in check_object_code()
301 static int do_checks(void *data, const struct perf_dlfilter_sample *sample, void *ctx, bool early) in do_checks()
336 int filter_event_early(void *data, const struct perf_dlfilter_sample *sample, void *ctx) in filter_event_early()
343 int filter_event(void *data, const struct perf_dlfilter_sample *sample, void *ctx) in filter_event()
H A Ddlfilter-test-api-v2.c43 struct perf_dlfilter_sample { struct
200 static int check_sample(struct filter_data *d, const struct perf_dlfilter_sample *sample) in check_sample()
202 struct perf_dlfilter_sample expected = { in check_sample()
217 CHECK(sample->size >= sizeof(struct perf_dlfilter_sample)); in check_sample()
272 static int check_address_al(void *ctx, const struct perf_dlfilter_sample *sample) in check_address_al()
311 static int check_object_code(void *ctx, const struct perf_dlfilter_sample *sample) in check_object_code()
320 static int do_checks(void *data, const struct perf_dlfilter_sample *sample, void *ctx, bool early) in do_checks()
355 int filter_event_early(void *data, const struct perf_dlfilter_sample *sample, void *ctx) in filter_event_early()
362 int filter_event(void *data, const struct perf_dlfilter_sample *sample, void *ctx) in filter_event()
H A Ddlfilter-show-cycles.c80 int filter_event_early(void *data, const struct perf_dlfilter_sample *sample, void *ctx) in filter_event_early()
106 int filter_event(void *data, const struct perf_dlfilter_sample *sample, void *ctx) in filter_event()
/linux/tools/perf/util/
H A Ddlfilter.h17 struct perf_dlfilter_sample;
37 struct perf_dlfilter_sample *d_sample;
45 const struct perf_dlfilter_sample *sample,
48 const struct perf_dlfilter_sample *sample,
H A Ddlfilter.c499 struct perf_dlfilter_sample d_sample; in dlfilter__do_filter_event()
/linux/tools/perf/Documentation/
H A Dperf-dlfilter.txt39 int filter_event(void *data, const struct perf_dlfilter_sample *sample, void *ctx);
40 int filter_event_early(void *data, const struct perf_dlfilter_sample *sample, void *ctx);
70 Do not assume data referenced by pointers in struct perf_dlfilter_sample
73 The perf_dlfilter_sample structure
76 'filter_event' and 'filter_event_early' are passed a perf_dlfilter_sample
83 struct perf_dlfilter_sample {
131 static inline bool have_machine_pid(const struct perf_dlfilter_sample *sample)
134 return sample->size >= offsetof(struct perf_dlfilter_sample, vcpu) + sizeof(sample->vcpu);
221 perf_dlfilter_sample flags
224 The 'flags' member of 'perf_dlfilter_sample' corresponds with the flags field
[all …]
/linux/tools/perf/include/perf/
H A Dperf_dlfilter.h38 struct perf_dlfilter_sample { struct
151 int filter_event(void *data, const struct perf_dlfilter_sample *sample, void *ctx);
157 int filter_event_early(void *data, const struct perf_dlfilter_sample *sample, void *ctx);