Home
last modified time | relevance | path

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

/linux-6.12.1/arch/arm64/kvm/
Dpmu-emul.c626 if (vcpu->kvm->arch.pmu_filter && in kvm_pmu_create_perf_event()
627 !test_bit(eventsel, vcpu->kvm->arch.pmu_filter)) in kvm_pmu_create_perf_event()
762 unsigned long *bmap = vcpu->kvm->arch.pmu_filter; in kvm_pmu_get_pmceid()
964 (kvm->arch.pmu_filter && kvm->arch.arm_pmu != arm_pmu)) { in kvm_arm_pmu_v3_set_pmu()
1043 if (!kvm->arch.pmu_filter) { in kvm_arm_pmu_v3_set_attr()
1044 kvm->arch.pmu_filter = bitmap_alloc(nr_events, GFP_KERNEL_ACCOUNT); in kvm_arm_pmu_v3_set_attr()
1045 if (!kvm->arch.pmu_filter) in kvm_arm_pmu_v3_set_attr()
1055 bitmap_zero(kvm->arch.pmu_filter, nr_events); in kvm_arm_pmu_v3_set_attr()
1057 bitmap_fill(kvm->arch.pmu_filter, nr_events); in kvm_arm_pmu_v3_set_attr()
1061 bitmap_set(kvm->arch.pmu_filter, filter.base_event, filter.nevents); in kvm_arm_pmu_v3_set_attr()
[all …]
Darm.c259 bitmap_free(kvm->arch.pmu_filter); in kvm_arch_destroy_vm()
/linux-6.12.1/tools/perf/util/
Dparse-events.h28 const char *pmu_filter; member
33 int __parse_events(struct evlist *evlist, const char *str, const char *pmu_filter,
158 const char *pmu_filter; member
Dparse-events.c444 if (parse_state->pmu_filter == NULL) in parse_events__filter_pmu()
447 return strcmp(parse_state->pmu_filter, pmu->name) != 0; in parse_events__filter_pmu()
2149 int __parse_events(struct evlist *evlist, const char *str, const char *pmu_filter, in __parse_events() argument
2160 .pmu_filter = pmu_filter, in __parse_events()
2368 ret = __parse_events(*args->evlistp, str, args->pmu_filter, &err, in parse_events_option()
/linux-6.12.1/tools/perf/
Dbuiltin-stat.c1113 parse_events_option_args.pmu_filter = pmu->name; in parse_cputype()
1936 const char *pmu = parse_events_option_args.pmu_filter ?: "all"; in add_default_attributes()
2746 const char *pmu = parse_events_option_args.pmu_filter ?: "all"; in cmd_stat()
/linux-6.12.1/arch/arm64/include/asm/
Dkvm_host.h348 unsigned long *pmu_filter; member