Home
last modified time | relevance | path

Searched refs:pmu_filter (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/arch/arm64/kvm/
H A Dpmu-emul.c609 if (vcpu->kvm->arch.pmu_filter && in kvm_pmu_create_perf_event()
610 !test_bit(eventsel, vcpu->kvm->arch.pmu_filter)) in kvm_pmu_create_perf_event()
746 unsigned long *bmap = vcpu->kvm->arch.pmu_filter; in kvm_pmu_get_pmceid()
891 (kvm->arch.pmu_filter && kvm->arch.arm_pmu != arm_pmu)) { in kvm_arm_pmu_v3_set_pmu()
987 if (!kvm->arch.pmu_filter) { in kvm_arm_pmu_v3_set_attr()
988 kvm->arch.pmu_filter = bitmap_alloc(nr_events, GFP_KERNEL_ACCOUNT); in kvm_arm_pmu_v3_set_attr()
989 if (!kvm->arch.pmu_filter) in kvm_arm_pmu_v3_set_attr()
999 bitmap_zero(kvm->arch.pmu_filter, nr_events); in kvm_arm_pmu_v3_set_attr()
1001 bitmap_fill(kvm->arch.pmu_filter, nr_events); in kvm_arm_pmu_v3_set_attr()
1005 bitmap_set(kvm->arch.pmu_filter, filter.base_event, filter.nevents); in kvm_arm_pmu_v3_set_attr()
[all …]
H A Darm.c200 bitmap_free(kvm->arch.pmu_filter); in kvm_arch_destroy_vm()
/openbmc/linux/tools/perf/util/
H A Dparse-events.h28 const char *pmu_filter; member
33 int __parse_events(struct evlist *evlist, const char *str, const char *pmu_filter,
157 const char *pmu_filter; member
H A Dparse-events.c437 if (parse_state->pmu_filter == NULL) in parse_events__filter_pmu()
440 return strcmp(parse_state->pmu_filter, pmu->name) != 0; in parse_events__filter_pmu()
2079 int __parse_events(struct evlist *evlist, const char *str, const char *pmu_filter, in __parse_events() argument
2089 .pmu_filter = pmu_filter, in __parse_events()
2279 ret = __parse_events(*args->evlistp, str, args->pmu_filter, &err, in parse_events_option()
/openbmc/linux/tools/perf/
H A Dbuiltin-stat.c1109 parse_events_option_args.pmu_filter = pmu->name; in parse_cputype()
2042 const char *pmu = parse_events_option_args.pmu_filter ?: "all"; in add_default_attributes()
2697 const char *pmu = parse_events_option_args.pmu_filter ?: "all"; in cmd_stat()
/openbmc/linux/arch/arm64/include/asm/
H A Dkvm_host.h255 unsigned long *pmu_filter; member