/linux/tools/perf/util/ |
H A D | pmu.c | 167 perf_pmu_format__load(const struct perf_pmu * pmu,struct perf_pmu_format * format) perf_pmu_format__load() argument 193 perf_pmu__format_parse(struct perf_pmu * pmu,int dirfd,bool eager_load) perf_pmu__format_parse() argument 243 pmu_format(struct perf_pmu * pmu,int dirfd,const char * name,bool eager_load) pmu_format() argument 295 perf_pmu__parse_scale(struct perf_pmu * pmu,struct perf_pmu_alias * alias) perf_pmu__parse_scale() argument 331 perf_pmu__parse_unit(struct perf_pmu * pmu,struct perf_pmu_alias * alias) perf_pmu__parse_unit() argument 397 perf_pmu__parse_per_pkg(struct perf_pmu * pmu,struct perf_pmu_alias * alias) perf_pmu__parse_per_pkg() argument 402 perf_pmu__parse_snapshot(struct perf_pmu * pmu,struct perf_pmu_alias * alias) perf_pmu__parse_snapshot() argument 419 perf_pmu__del_aliases(struct perf_pmu * pmu) perf_pmu__del_aliases() argument 429 perf_pmu__find_alias(struct perf_pmu * pmu,const char * name,bool load) perf_pmu__find_alias() argument 484 read_alias_info(struct perf_pmu * pmu,struct perf_pmu_alias * alias) read_alias_info() argument 499 struct perf_pmu *pmu; global() member 529 perf_pmu__new_alias(struct perf_pmu * pmu,const char * name,const char * desc,const char * val,FILE * val_fd,const struct pmu_event * pe,enum event_source src) perf_pmu__new_alias() argument 633 __pmu_aliases_parse(struct perf_pmu * pmu,int events_dir_fd) __pmu_aliases_parse() argument 679 pmu_aliases_parse(struct perf_pmu * pmu) pmu_aliases_parse() argument 703 pmu_aliases_parse_eager(struct perf_pmu * pmu,int sysfs_fd) pmu_aliases_parse_eager() argument 759 struct perf_pmu pmu = {.name = pmu_name}; pmu_cpumask() local 820 perf_pmu__getcpuid(struct perf_pmu * pmu) perf_pmu__getcpuid() argument 854 pmu_deduped_name_len(const struct perf_pmu * pmu,const char * name,bool skip_duplicate_pmus) pmu_deduped_name_len() argument 985 struct perf_pmu *pmu = vdata; pmu_add_cpu_aliases_map_callback() local 996 pmu_add_cpu_aliases_table(struct perf_pmu * pmu,const struct pmu_events_table * table) pmu_add_cpu_aliases_table() argument 1001 pmu_add_cpu_aliases(struct perf_pmu * pmu) pmu_add_cpu_aliases() argument 1017 struct perf_pmu *pmu = vdata; pmu_add_sys_aliases_iter_fn() local 1036 pmu_add_sys_aliases(struct perf_pmu * pmu) pmu_add_sys_aliases() argument 1044 pmu_find_alias_name(struct perf_pmu * pmu,int dirfd) pmu_find_alias_name() argument 1067 pmu_max_precise(int dirfd,struct perf_pmu * pmu) pmu_max_precise() argument 1076 perf_pmu__arch_init(struct perf_pmu * pmu) perf_pmu__arch_init() argument 1085 struct perf_pmu *pmu; perf_pmu__lookup() local 1149 struct perf_pmu *pmu = zalloc(sizeof(*pmu)); perf_pmu__create_placeholder_core_pmu() local 1171 perf_pmu__is_fake(const struct perf_pmu * pmu) perf_pmu__is_fake() argument 1176 perf_pmu__warn_invalid_formats(struct perf_pmu * pmu) perf_pmu__warn_invalid_formats() argument 1202 struct perf_pmu *pmu; evsel__is_aux_event() local 1220 evsel__set_config_if_unset(struct perf_pmu * pmu,struct evsel * evsel,const char * config_name,u64 val) evsel__set_config_if_unset() argument 1252 perf_pmu__format_bits(struct perf_pmu * pmu,const char * name) perf_pmu__format_bits() argument 1267 perf_pmu__format_type(struct perf_pmu * pmu,const char * name) perf_pmu__format_type() argument 1365 pmu_config_term(const struct perf_pmu * pmu,struct perf_event_attr * attr,struct parse_events_term * term,struct parse_events_terms * head_terms,bool zero,struct parse_events_error * err) pmu_config_term() argument 1488 perf_pmu__config_terms(const struct perf_pmu * pmu,struct perf_event_attr * attr,struct parse_events_terms * terms,bool zero,struct parse_events_error * err) perf_pmu__config_terms() argument 1508 perf_pmu__config(struct perf_pmu * pmu,struct perf_event_attr * attr,struct parse_events_terms * head_terms,struct parse_events_error * err) perf_pmu__config() argument 1521 pmu_find_alias(struct perf_pmu * pmu,struct parse_events_term * term) pmu_find_alias() argument 1560 check_info_data(struct perf_pmu * pmu,struct perf_pmu_alias * alias,struct perf_pmu_info * info,struct parse_events_error * err,int column) check_info_data() argument 1607 perf_pmu__check_alias(struct perf_pmu * pmu,struct parse_events_terms * head_terms,struct perf_pmu_info * info,bool * rewrote_terms,struct parse_events_error * err) perf_pmu__check_alias() argument 1683 perf_pmu__find_event(struct perf_pmu * pmu,const char * event,void * state,pmu_event_callback cb) perf_pmu__find_event() argument 1707 perf_pmu__has_format(const struct perf_pmu * pmu,const char * name) perf_pmu__has_format() argument 1718 perf_pmu__for_each_format(struct perf_pmu * pmu,void * state,pmu_format_callback cb) perf_pmu__for_each_format() argument 1779 perf_pmu__supports_legacy_cache(const struct perf_pmu * pmu) perf_pmu__supports_legacy_cache() argument 1784 perf_pmu__auto_merge_stats(const struct perf_pmu * pmu) perf_pmu__auto_merge_stats() argument 1789 perf_pmu__have_event(struct perf_pmu * pmu,const char * name) perf_pmu__have_event() argument 1800 perf_pmu__num_events(struct perf_pmu * pmu) perf_pmu__num_events() argument 1824 format_alias(char * buf,int len,const struct perf_pmu * pmu,const struct perf_pmu_alias * alias,bool skip_duplicate_pmus) format_alias() argument 1852 perf_pmu__for_each_event(struct perf_pmu * pmu,bool skip_duplicate_pmus,void * state,pmu_event_callback cb) perf_pmu__for_each_event() argument 1924 pmu__name_match(const struct perf_pmu * pmu,const char * pmu_name) pmu__name_match() argument 1935 perf_pmu__is_software(const struct perf_pmu * pmu) perf_pmu__is_software() argument 1961 perf_pmu__open_file(const struct perf_pmu * pmu,const char * name) perf_pmu__open_file() argument 1972 perf_pmu__open_file_at(const struct perf_pmu * pmu,int dirfd,const char * name) perf_pmu__open_file_at() argument 1983 perf_pmu__scan_file(const struct perf_pmu * pmu,const char * name,const char * fmt,...) perf_pmu__scan_file() argument 2000 perf_pmu__scan_file_at(const struct perf_pmu * pmu,int dirfd,const char * name,const char * fmt,...) perf_pmu__scan_file_at() argument 2017 perf_pmu__file_exists(const struct perf_pmu * pmu,const char * name) perf_pmu__file_exists() argument 2051 perf_pmu__del_caps(struct perf_pmu * pmu) perf_pmu__del_caps() argument 2068 perf_pmu__caps_parse(struct perf_pmu * pmu) perf_pmu__caps_parse() argument 2129 perf_pmu__compute_config_masks(struct perf_pmu * pmu) perf_pmu__compute_config_masks() argument 2152 perf_pmu__warn_invalid_config(struct perf_pmu * pmu,__u64 config,const char * name,int config_num,const char * config_name) perf_pmu__warn_invalid_config() argument 2178 perf_pmu__match(const struct perf_pmu * pmu,const char * tok) perf_pmu__match() argument 2258 perf_pmu__delete(struct perf_pmu * pmu) perf_pmu__delete() argument 2272 perf_pmu__name_from_config(struct perf_pmu * pmu,u64 config) perf_pmu__name_from_config() argument [all...] |
H A D | pmus.c | 91 struct perf_pmu *pmu, *tmp; perf_pmus__destroy() local 109 struct perf_pmu *pmu; pmu_find() local 127 struct perf_pmu *pmu; perf_pmus__find() local 165 struct perf_pmu *pmu; perf_pmu__find2() local 242 struct perf_pmu *pmu; __perf_pmus__find_by_type() local 258 struct perf_pmu *pmu = __perf_pmus__find_by_type(type); perf_pmus__find_by_type() local 272 perf_pmus__scan(struct perf_pmu * pmu) perf_pmus__scan() argument 292 perf_pmus__scan_core(struct perf_pmu * pmu) perf_pmus__scan_core() argument 304 perf_pmus__scan_skip_duplicates(struct perf_pmu * pmu) perf_pmus__scan_skip_duplicates() argument 343 struct perf_pmu *pmu = NULL; perf_pmus__pmu_for_pmu_filter() local 365 const struct perf_pmu *pmu; global() member 457 struct perf_pmu *pmu; perf_pmus__print_pmu_events() local 571 struct perf_pmu *pmu = NULL; perf_pmus__print_raw_pmu_events() local 619 struct perf_pmu *pmu = perf_pmus__find(pname); perf_pmus__have_event() local 629 struct perf_pmu *pmu = NULL; perf_pmus__num_core_pmus() local 639 struct perf_pmu *pmu = NULL; __perf_pmus__supports_extended_type() local 703 struct perf_pmu *pmu = evsel->pmu; evsel__find_pmu() local [all...] |
H A D | mem-events.c | 37 struct perf_mem_event *perf_pmu__mem_events_ptr(struct perf_pmu *pmu, int i) in perf_pmu__mem_events_ptr() argument 45 static struct perf_pmu *perf_pmus__scan_mem(struct perf_pmu *pmu) in perf_pmus__scan_mem() argument 74 perf_pmu__mem_events_num_mem_pmus(struct perf_pmu * pmu) perf_pmu__mem_events_num_mem_pmus() argument 84 perf_pmu__mem_events_name(int i,struct perf_pmu * pmu) perf_pmu__mem_events_name() argument 131 struct perf_pmu *pmu = leader->pmu; is_mem_loads_aux_event() local 144 perf_pmu__mem_events_parse(struct perf_pmu * pmu,const char * str) perf_pmu__mem_events_parse() argument 183 perf_pmu__mem_events_supported(const char * mnt,struct perf_pmu * pmu,struct perf_mem_event * e) perf_pmu__mem_events_supported() argument 197 __perf_pmu__mem_events_init(struct perf_pmu * pmu) __perf_pmu__mem_events_init() argument 226 struct perf_pmu *pmu = NULL; perf_pmu__mem_events_init() local 236 perf_pmu__mem_events_list(struct perf_pmu * pmu) perf_pmu__mem_events_list() argument 255 struct perf_pmu *pmu = NULL; perf_mem_events__record_args() local [all...] |
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
H A D | base.c | 32 struct nvkm_pmu *pmu = device->pmu; in nvkm_pmu_fan_controlled() local 48 nvkm_pmu_pgob(struct nvkm_pmu *pmu, bool enable) in nvkm_pmu_pgob() 57 struct nvkm_pmu *pmu = container_of(work, typeof(*pmu), recv.work); in nvkm_pmu_recv() local 62 nvkm_pmu_send(struct nvkm_pmu *pmu, u32 reply[2], in nvkm_pmu_send() 73 struct nvkm_pmu *pmu = nvkm_pmu(subdev); in nvkm_pmu_intr() local 82 struct nvkm_pmu *pmu = nvkm_pmu(subdev); in nvkm_pmu_fini() local 96 struct nvkm_pmu *pmu = nvkm_pmu(subdev); in nvkm_pmu_init() local 107 struct nvkm_pmu *pmu = nvkm_pmu(subdev); in nvkm_pmu_dtor() local 127 enum nvkm_subdev_type type, int inst, struct nvkm_pmu *pmu) in nvkm_pmu_ctor() 163 struct nvkm_pmu *pmu; in nvkm_pmu_new_() local
|
H A D | gt215.c | 30 gt215_pmu_send(struct nvkm_pmu *pmu, u32 reply[2], in gt215_pmu_send() 87 gt215_pmu_recv(struct nvkm_pmu *pmu) in gt215_pmu_recv() 139 gt215_pmu_intr(struct nvkm_pmu *pmu) in gt215_pmu_intr() 178 gt215_pmu_fini(struct nvkm_pmu *pmu) in gt215_pmu_fini() 185 gt215_pmu_reset(struct nvkm_pmu *pmu) in gt215_pmu_reset() 195 gt215_pmu_enabled(struct nvkm_pmu *pmu) in gt215_pmu_enabled() 201 gt215_pmu_init(struct nvkm_pmu *pmu) in gt215_pmu_init()
|
H A D | gm20b.c | 42 struct nvkm_pmu *pmu = container_of(falcon, typeof(*pmu), falcon); in gm20b_pmu_acr_bootstrap_falcon() local 129 struct nvkm_pmu *pmu = priv; in gm20b_pmu_acr_init_wpr_callback() local 144 gm20b_pmu_acr_init_wpr(struct nvkm_pmu *pmu) in gm20b_pmu_acr_init_wpr() 159 gm20b_pmu_initmsg(struct nvkm_pmu *pmu) in gm20b_pmu_initmsg() 185 gm20b_pmu_recv(struct nvkm_pmu *pmu) in gm20b_pmu_recv() 201 gm20b_pmu_fini(struct nvkm_pmu *pmu) in gm20b_pmu_fini() 215 gm20b_pmu_init(struct nvkm_pmu *pmu) in gm20b_pmu_init() 251 gm20b_pmu_load(struct nvkm_pmu *pmu, int ver, const struct nvkm_pmu_fwif *fwif) in gm20b_pmu_load()
|
H A D | gk20a.c | 51 gk20a_pmu_dvfs_target(struct gk20a_pmu *pmu, int *state) in gk20a_pmu_dvfs_target() 59 gk20a_pmu_dvfs_get_cur_state(struct gk20a_pmu *pmu, int *state) in gk20a_pmu_dvfs_get_cur_state() 67 gk20a_pmu_dvfs_get_target_state(struct gk20a_pmu *pmu, in gk20a_pmu_dvfs_get_target_state() 95 gk20a_pmu_dvfs_get_dev_status(struct gk20a_pmu *pmu, in gk20a_pmu_dvfs_get_dev_status() 105 gk20a_pmu_dvfs_reset_dev_status(struct gk20a_pmu *pmu) in gk20a_pmu_dvfs_reset_dev_status() 116 struct gk20a_pmu *pmu = in gk20a_pmu_dvfs_work() local 158 gk20a_pmu_fini(struct nvkm_pmu *pmu) in gk20a_pmu_fini() 167 gk20a_pmu_init(struct nvkm_pmu *pmu) in gk20a_pmu_init() 215 struct gk20a_pmu *pmu; in gk20a_pmu_new() local
|
H A D | gf100.c | 30 gf100_pmu_reset(struct nvkm_pmu *pmu) in gf100_pmu_reset() 38 gf100_pmu_enabled(struct nvkm_pmu *pmu) in gf100_pmu_enabled() 60 gf100_pmu_nofw(struct nvkm_pmu *pmu, int ver, const struct nvkm_pmu_fwif *fwif) in gf100_pmu_nofw()
|
/linux/arch/x86/kvm/svm/ |
H A D | pmu.c | 28 static struct kvm_pmc *amd_pmu_get_pmc(struct kvm_pmu *pmu, int pmc_idx) in amd_pmu_get_pmc() 38 static inline struct kvm_pmc *get_gp_pmc_amd(struct kvm_pmu *pmu, u32 msr, in get_gp_pmc_amd() 78 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_check_rdpmc_early() local 95 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_msr_idx_to_pmc() local 106 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_is_valid_msr() local 129 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_pmu_get_msr() local 151 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_pmu_set_msr() local 178 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_pmu_refresh() local 217 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_pmu_init() local
|
/linux/drivers/perf/amlogic/ |
H A D | meson_ddr_pmu_core.c | 21 struct pmu pmu; member 38 static void dmc_pmu_enable(struct ddr_pmu *pmu) in dmc_pmu_enable() 46 static void dmc_pmu_disable(struct ddr_pmu *pmu) in dmc_pmu_disable() 56 struct ddr_pmu *pmu = to_ddr_pmu(event->pmu); in meson_ddr_set_axi_filter() local 87 struct ddr_pmu *pmu = to_ddr_pmu(event->pmu); in meson_ddr_perf_event_update() local 120 struct ddr_pmu *pmu = to_ddr_pmu(event->pmu); in meson_ddr_perf_event_init() local 145 struct ddr_pmu *pmu = to_ddr_pmu(event->pmu); in meson_ddr_perf_event_start() local 175 struct ddr_pmu *pmu = to_ddr_pmu(event->pmu); in meson_ddr_perf_event_stop() local 192 struct ddr_pmu *pmu = dev_get_drvdata(dev); in meson_ddr_perf_cpumask_show() local 294 struct pmu *pmu = dev_get_drvdata(kobj_to_dev(kobj)); in meson_ddr_perf_format_attr_visible() local [all …]
|
/linux/arch/x86/kvm/ |
H A D | pmu.h | 10 #define pmu_to_vcpu(pmu) (container_of((pmu), struct kvm_vcpu, arch.pmu)) argument 52 static inline bool kvm_pmu_has_perf_global_ctrl(struct kvm_pmu *pmu) in kvm_pmu_has_perf_global_ctrl() 80 static inline struct kvm_pmc *kvm_pmc_idx_to_pmc(struct kvm_pmu *pmu, int idx) in kvm_pmc_idx_to_pmc() 92 #define kvm_for_each_pmc(pmu, pmc, i, bitmap) \ argument 100 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in pmc_bitmask() local 130 static inline bool kvm_valid_perf_global_ctrl(struct kvm_pmu *pmu, in kvm_valid_perf_global_ctrl() 140 static inline struct kvm_pmc *get_gp_pmc(struct kvm_pmu *pmu, u32 msr, in get_gp_pmc() 154 static inline struct kvm_pmc *get_fixed_pmc(struct kvm_pmu *pmu, u32 msr) in get_fixed_pmc() 170 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in pmc_speculative_in_use() local 236 static inline void reprogram_counters(struct kvm_pmu *pmu, u64 diff) in reprogram_counters() [all …]
|
H A D | pmu.c | 101 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in __kvm_perf_overflow() local 180 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in pmc_reprogram_counter() local 452 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in reprogram_counter() local 498 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_handle_event() local 584 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_rdpmc() local 631 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_mark_pmc_in_use() local 640 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_get_msr() local 665 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_set_msr() local 724 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_reset() local 753 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_refresh() local [all …]
|
/linux/drivers/soc/dove/ |
H A D | pmu.c | 50 struct pmu_data *pmu = rcdev_to_pmu(rc); in pmu_reset_reset() local 65 struct pmu_data *pmu = rcdev_to_pmu(rc); in pmu_reset_assert() local 79 struct pmu_data *pmu = rcdev_to_pmu(rc); in pmu_reset_deassert() local 103 static void __init pmu_reset_init(struct pmu_data *pmu) in pmu_reset_init() 115 static void __init pmu_reset_init(struct pmu_data *pmu) in pmu_reset_init() 121 struct pmu_data *pmu; member 146 struct pmu_data *pmu = pmu_dom->pmu; in pmu_domain_power_off() local 180 struct pmu_data *pmu = pmu_dom->pmu; in pmu_domain_power_on() local 228 struct pmu_data *pmu = irq_desc_get_handler_data(desc); in pmu_irq_handler() local 266 static int __init dove_init_pmu_irq(struct pmu_data *pmu, int irq) in dove_init_pmu_irq() [all …]
|
/linux/arch/x86/events/intel/ |
H A D | uncore.c | 138 struct intel_uncore_box *uncore_pmu_to_box(struct intel_uncore_pmu *pmu, int cpu) in uncore_pmu_to_box() 697 static int uncore_validate_group(struct intel_uncore_pmu *pmu, in uncore_validate_group() 738 struct intel_uncore_pmu *pmu; in uncore_pmu_event_init() local 817 static void uncore_pmu_enable(struct pmu *pmu) in uncore_pmu_enable() 832 static void uncore_pmu_disable(struct pmu *pmu) in uncore_pmu_disable() 850 struct intel_uncore_pmu *pmu = container_of(dev_get_drvdata(dev), struct intel_uncore_pmu, pmu); in uncore_get_attr_cpumask() local 867 struct intel_uncore_pmu *pmu) in uncore_get_box_id() 875 void uncore_get_alias_name(char *pmu_name, struct intel_uncore_pmu *pmu) in uncore_get_alias_name() 887 static void uncore_get_pmu_name(struct intel_uncore_pmu *pmu) in uncore_get_pmu_name() 914 static int uncore_pmu_register(struct intel_uncore_pmu *pmu) in uncore_pmu_register() [all …]
|
/linux/drivers/pmdomain/starfive/ |
H A D | jh71xx-pmu.c | 81 struct jh71xx_pmu *pmu; member 87 struct jh71xx_pmu *pmu = pmd->pmu; in jh71xx_pmu_get_state() local 99 struct jh71xx_pmu *pmu = pmd->pmu; in jh7110_pmu_set_state() local 167 struct jh71xx_pmu *pmu = pmd->pmu; in jh7110_aon_pmu_set_state() local 187 struct jh71xx_pmu *pmu = pmd->pmu; in jh71xx_pmu_set_state() local 226 static void jh71xx_pmu_int_enable(struct jh71xx_pmu *pmu, u32 mask, bool enable) in jh71xx_pmu_int_enable() 245 struct jh71xx_pmu *pmu = data; in jh71xx_pmu_interrupt() local 268 static int jh7110_pmu_parse_irq(struct platform_device *pdev, struct jh71xx_pmu *pmu) in jh7110_pmu_parse_irq() 287 static int jh71xx_pmu_init_domain(struct jh71xx_pmu *pmu, int index) in jh71xx_pmu_init_domain() 324 struct jh71xx_pmu *pmu; in jh71xx_pmu_probe() local
|
/linux/drivers/perf/ |
H A D | riscv_pmu_sbi.c | 566 static void pmu_sbi_snapshot_free(struct riscv_pmu *pmu) in pmu_sbi_snapshot_free() 582 static int pmu_sbi_snapshot_alloc(struct riscv_pmu *pmu) in pmu_sbi_snapshot_alloc() 616 static int pmu_sbi_snapshot_setup(struct riscv_pmu *pmu, int cpu) in pmu_sbi_snapshot_setup() 655 struct riscv_pmu *pmu = to_riscv_pmu(event->pmu); in pmu_sbi_ctr_read() local 736 struct riscv_pmu *pmu = to_riscv_pmu(event->pmu); in pmu_sbi_ctr_stop() local 810 static inline void pmu_sbi_stop_all(struct riscv_pmu *pmu) in pmu_sbi_stop_all() 820 static inline void pmu_sbi_stop_hw_ctrs(struct riscv_pmu *pmu) in pmu_sbi_stop_hw_ctrs() 938 static void pmu_sbi_start_overflow_mask(struct riscv_pmu *pmu, in pmu_sbi_start_overflow_mask() 956 struct riscv_pmu *pmu; in pmu_sbi_ovf_handler() local 1058 struct riscv_pmu *pmu = hlist_entry_safe(node, struct riscv_pmu, node); in pmu_sbi_starting_cpu() local [all …]
|
H A D | arm_pmu_acpi.c | 252 struct arm_pmu *pmu; in arm_pmu_acpi_find_pmu() local 270 static bool pmu_irq_matches(struct arm_pmu *pmu, int irq) in pmu_irq_matches() 295 static void arm_pmu_acpi_associate_pmu_cpu(struct arm_pmu *pmu, in arm_pmu_acpi_associate_pmu_cpu() 322 struct arm_pmu *pmu; in arm_pmu_acpi_cpu_starting() local 339 static void arm_pmu_acpi_probe_matching_cpus(struct arm_pmu *pmu, in arm_pmu_acpi_probe_matching_cpus() 382 struct arm_pmu *pmu = per_cpu(probed_pmus, cpu); in arm_pmu_acpi_probe() local
|
H A D | arm_pmu_platform.c | 25 static int probe_current_pmu(struct arm_pmu *pmu, in probe_current_pmu() 45 static int pmu_parse_percpu_irq(struct arm_pmu *pmu, int irq) in pmu_parse_percpu_irq() 95 static int pmu_parse_irqs(struct arm_pmu *pmu) in pmu_parse_irqs() 192 struct arm_pmu *pmu; in arm_pmu_device_probe() local
|
H A D | arm_pmu.c | 364 validate_event(struct pmu *pmu, struct pmu_hw_events *hw_events, in validate_event() 521 static void armpmu_enable(struct pmu *pmu) in armpmu_enable() 535 static void armpmu_disable(struct pmu *pmu) in armpmu_disable() 551 static bool armpmu_filter(struct pmu *pmu, int cpu) in armpmu_filter() 685 static int armpmu_get_cpu_irq(struct arm_pmu *pmu, int cpu) in armpmu_get_cpu_irq() 704 struct arm_pmu *pmu = hlist_entry_safe(node, struct arm_pmu, node); in arm_perf_starting_cpu() local 723 struct arm_pmu *pmu = hlist_entry_safe(node, struct arm_pmu, node); in arm_perf_teardown_cpu() local 853 struct arm_pmu *pmu; in armpmu_alloc() local 906 void armpmu_free(struct arm_pmu *pmu) in armpmu_free() 912 int armpmu_register(struct arm_pmu *pmu) in armpmu_register()
|
/linux/arch/x86/events/ |
H A D | rapl.c | 124 struct pmu *pmu; member 130 struct pmu pmu; member 235 static void rapl_start_hrtimer(struct rapl_pmu *pmu) in rapl_start_hrtimer() 243 struct rapl_pmu *pmu = container_of(hrtimer, struct rapl_pmu, hrtimer); in rapl_hrtimer_handle() local 262 static void rapl_hrtimer_init(struct rapl_pmu *pmu) in rapl_hrtimer_init() 270 static void __rapl_pmu_event_start(struct rapl_pmu *pmu, in __rapl_pmu_event_start() 289 struct rapl_pmu *pmu = event->pmu_private; in rapl_pmu_event_start() local 299 struct rapl_pmu *pmu = event->pmu_private; in rapl_pmu_event_stop() local 333 struct rapl_pmu *pmu = event->pmu_private; in rapl_pmu_event_add() local 358 struct rapl_pmu *pmu; in rapl_pmu_event_init() local [all …]
|
/linux/include/linux/ |
H A D | perf_event.h | 325 struct pmu { struct 337 * various common per-pmu feature flags argument 346 int __percpu *pmu_disable_count; argument 347 struct perf_cpu_pmu_context __percpu *cpu_pmu_context; argument 359 void (*pmu_enable) (struct pmu *pmu); /* optional */ argument 360 void (*pmu_disable) (struct pmu *pmu); /* optional */ argument 378 int (*event_init) (struct perf_event *event); 384 void (*event_mapped) (struct perf_event *event, struct mm_struct *mm); /* optional */ 385 void (*event_unmapped) (struct perf_event *event, struct mm_struct *mm); /* optional */ 415 int (*add) (struct perf_event *event, int flags); [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
H A D | gm200.c | 33 pmu_code(struct nv50_devinit *init, u32 pmu, u32 img, u32 len, bool sec) in pmu_code() 53 pmu_data(struct nv50_devinit *init, u32 pmu, u32 img, u32 len) in pmu_data() 88 struct nvbios_pmuR pmu; in pmu_load() local 149 u32 pmu = pmu_args(init, args + 0x08, 0x08); in gm200_devinit_post() local 157 u32 pmu = pmu_args(init, args + 0x08, 0x10); in gm200_devinit_post() local
|
/linux/drivers/pmdomain/rockchip/ |
H A D | pm-domains.c | 89 struct rockchip_pmu *pmu; member 221 struct rockchip_pmu *pmu; in rockchip_pmu_block() local 284 struct rockchip_pmu *pmu; in rockchip_pmu_unblock() local 311 struct rockchip_pmu *pmu = pd->pmu; in rockchip_pmu_domain_is_idle() local 319 static unsigned int rockchip_pmu_read_ack(struct rockchip_pmu *pmu) in rockchip_pmu_read_ack() 330 struct rockchip_pmu *pmu = pd->pmu; in rockchip_pmu_ungate_clk() local 352 struct rockchip_pmu *pmu = pd->pmu; in rockchip_pmu_set_idle_request() local 446 struct rockchip_pmu *pmu = pd->pmu; in rockchip_pmu_domain_is_on() local 467 struct rockchip_pmu *pmu = pd->pmu; in rockchip_pmu_domain_is_mem_on() local 479 struct rockchip_pmu *pmu = pd->pmu; in rockchip_pmu_domain_is_chain_on() local [all …]
|
/linux/tools/perf/pmu-events/ |
H A D | empty-pmu-events.c | 306 pmu_events_table__for_each_event_pmu(const struct pmu_events_table * table,const struct pmu_table_entry * pmu,pmu_event_iter_fn fn,void * data) pmu_events_table__for_each_event_pmu() argument 327 pmu_events_table__find_event_pmu(const struct pmu_events_table * table,const struct pmu_table_entry * pmu,const char * name,pmu_event_iter_fn fn,void * data) pmu_events_table__find_event_pmu() argument 370 pmu_events_table__for_each_event(const struct pmu_events_table * table,struct perf_pmu * pmu,pmu_event_iter_fn fn,void * data) pmu_events_table__for_each_event() argument 390 pmu_events_table__find_event(const struct pmu_events_table * table,struct perf_pmu * pmu,const char * name,pmu_event_iter_fn fn,void * data) pmu_events_table__find_event() argument 411 pmu_events_table__num_events(const struct pmu_events_table * table,struct perf_pmu * pmu) pmu_events_table__num_events() argument 426 pmu_metrics_table__for_each_metric_pmu(const struct pmu_metrics_table * table,const struct pmu_table_entry * pmu,pmu_metric_iter_fn fn,void * data) pmu_metrics_table__for_each_metric_pmu() argument 460 map_for_pmu(struct perf_pmu * pmu) map_for_pmu() argument 464 struct perf_pmu *pmu; map_for_pmu() member 515 perf_pmu__find_events_table(struct perf_pmu * pmu) perf_pmu__find_events_table() argument 535 perf_pmu__find_metrics_table(struct perf_pmu * pmu) perf_pmu__find_metrics_table() argument [all...] |
/linux/arch/arm64/kvm/ |
H A D | pmu.c | 42 struct kvm_pmu_events *pmu = kvm_get_pmu_events(); in kvm_set_pmu_events() local 58 struct kvm_pmu_events *pmu = kvm_get_pmu_events(); in kvm_clr_pmu_events() local 133 struct kvm_pmu_events *pmu; in kvm_vcpu_pmu_restore_guest() local 154 struct kvm_pmu_events *pmu; in kvm_vcpu_pmu_restore_host() local
|