Searched refs:pmu_filter (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/arch/arm64/kvm/ |
H A D | pmu-emul.c | 609 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 D | arm.c | 200 bitmap_free(kvm->arch.pmu_filter); in kvm_arch_destroy_vm()
|
/openbmc/linux/tools/perf/util/ |
H A D | parse-events.h | 28 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 D | parse-events.c | 437 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 D | builtin-stat.c | 1109 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 D | kvm_host.h | 255 unsigned long *pmu_filter; member
|