Lines Matching refs:perf_event

25 #include <linux/perf_event.h>
302 struct perf_event *hw_events[HNS3_PMU_MAX_HW_EVENTS];
325 static inline u64 hns3_pmu_get_##_name(struct perf_event *event) \
727 static u32 hns3_pmu_get_event(struct perf_event *event)
734 static u32 hns3_pmu_get_real_event(struct perf_event *event)
776 static bool hns3_pmu_cmp_event(struct perf_event *target,
777 struct perf_event *event)
783 struct perf_event *event)
785 struct perf_event *sibling;
911 static int hns3_pmu_set_func_mode(struct perf_event *event,
925 static int hns3_pmu_set_func_queue_mode(struct perf_event *event,
946 hns3_pmu_is_enabled_global_mode(struct perf_event *event,
957 static bool hns3_pmu_is_enabled_func_mode(struct perf_event *event,
972 hns3_pmu_is_enabled_func_queue_mode(struct perf_event *event,
986 static bool hns3_pmu_is_enabled_port_mode(struct perf_event *event,
998 hns3_pmu_is_enabled_port_tc_mode(struct perf_event *event,
1010 hns3_pmu_is_enabled_func_intr_mode(struct perf_event *event,
1022 static int hns3_pmu_select_filter_mode(struct perf_event *event,
1064 static bool hns3_pmu_validate_event_group(struct perf_event *event)
1066 struct perf_event *sibling, *leader = event->group_leader;
1067 struct perf_event *event_group[HNS3_PMU_MAX_HW_EVENTS];
1099 static u32 hns3_pmu_get_filter_condition(struct perf_event *event)
1126 static void hns3_pmu_config_filter(struct perf_event *event)
1208 static u64 hns3_pmu_read_counter(struct perf_event *event)
1215 static void hns3_pmu_write_counter(struct perf_event *event, u64 value)
1224 static void hns3_pmu_init_counter(struct perf_event *event)
1232 static int hns3_pmu_event_init(struct perf_event *event)
1276 static void hns3_pmu_read(struct perf_event *event)
1291 static void hns3_pmu_start(struct perf_event *event, int flags)
1310 static void hns3_pmu_stop(struct perf_event *event, int flags)
1329 static int hns3_pmu_add(struct perf_event *event, int flags)
1362 static void hns3_pmu_del(struct perf_event *event, int flags)