Home
last modified time | relevance | path

Searched refs:filter_event (Results 1 – 8 of 8) sorted by relevance

/linux/tools/perf/Documentation/
H A Dperf-dlfilter.txt39 int filter_event(void *data, const struct perf_dlfilter_sample *sample, void *ctx);
45 calls to 'filter_event' or 'filter_event_early'. Return 0 to indicate success,
51 'filter_event' or 'filter_event_early'. Return 0 to indicate success, or
56 If implemented, 'filter_event' will be called for each sample event.
61 'filter_event_early' is the same as 'filter_event' except it is called before
68 after 'filter_event' and 'filter_event_early' return.
71 is valid (dereferenceable) after 'filter_event' and 'filter_event_early' return.
76 'filter_event' and 'filter_event_early' are passed a perf_dlfilter_sample
145 file is loaded. The functions can be called by 'filter_event' or
186 after 'filter_event' and 'filter_event_early' return.
[all …]
/linux/tools/perf/util/
H A Ddlfilter.h44 int (*filter_event)(void *data, member
77 if (!d || !d->filter_event) in dlfilter__filter_event()
H A Ddlfilter.c406 d->filter_event = dlsym(d->handle, "filter_event"); in dlfilter__open()
573 ret = d->filter_event(d->data, &d_sample, d); in dlfilter__do_filter_event()
589 if (!handle || !(dlsym(handle, "filter_event") || dlsym(handle, "filter_event_early"))) in get_filter_desc()
/linux/tools/perf/include/perf/
H A Dperf_dlfilter.h151 int filter_event(void *data, const struct perf_dlfilter_sample *sample, void *ctx);
/linux/tools/perf/dlfilters/
H A Ddlfilter-show-cycles.c106 int filter_event(void *data, const struct perf_dlfilter_sample *sample, void *ctx) in filter_event() function
H A Ddlfilter-test-api-v0.c343 int filter_event(void *data, const struct perf_dlfilter_sample *sample, void *ctx) in filter_event() function
H A Ddlfilter-test-api-v2.c362 int filter_event(void *data, const struct perf_dlfilter_sample *sample, void *ctx) in filter_event() function
/linux/arch/x86/kvm/
H A Dpmu.c359 static bool is_filter_entry_match(u64 filter_event, u64 umask) in is_filter_entry_match() argument
361 u64 mask = filter_event >> (KVM_PMU_MASKED_ENTRY_UMASK_MASK_SHIFT - 8); in is_filter_entry_match()
362 u64 match = filter_event & KVM_PMU_MASKED_ENTRY_UMASK_MATCH; in is_filter_entry_match()