/linux/kernel/events/ |
H A D | core.c | 211 static bool is_kernel_event(struct perf_event *event) in is_kernel_event() 247 struct perf_event *event; member 255 struct perf_event *event = efs->event; in event_function() local 298 static void event_function_call(struct perf_event *event, event_f func, void *data) in event_function_call() 355 static void event_function_local(struct perf_event *event, event_f func, void *data) in event_function_local() 618 static inline u64 perf_event_clock(struct perf_event *event) in perf_event_clock() 646 __perf_effective_state(struct perf_event *event) in __perf_effective_state() 657 __perf_update_times(struct perf_event *event, u64 now, u64 *enabled, u64 *running) in __perf_update_times() 671 static void perf_event_update_time(struct perf_event *event) in perf_event_update_time() 689 perf_event_set_state(struct perf_event *event, enum perf_event_state state) in perf_event_set_state() [all …]
|
/linux/tools/perf/util/ |
H A D | event.c | 150 struct perf_record_stat_config *event) in perf_event__read_stat_config() 174 size_t perf_event__fprintf_comm(union perf_event *event, FILE *fp) in perf_event__fprintf_comm() 186 size_t perf_event__fprintf_namespaces(union perf_event *event, FILE *fp) in perf_event__fprintf_namespaces() 213 size_t perf_event__fprintf_cgroup(union perf_event *event, FILE *fp) in perf_event__fprintf_cgroup() 220 union perf_event *event, in perf_event__process_comm() 228 union perf_event *event, in perf_event__process_namespaces() 236 union perf_event *event, in perf_event__process_cgroup() 244 union perf_event *event, in perf_event__process_lost() 252 union perf_event *event, in perf_event__process_aux() 260 union perf_event *event, in perf_event__process_itrace_start() [all …]
|
H A D | session.c | 127 struct ordered_event *event) in ordered_events__deliver_event() 262 static void swap_sample_id_all(union perf_event *event, void *data) in swap_sample_id_all() 271 static void perf_event__all64_swap(union perf_event *event, in perf_event__all64_swap() 278 static void perf_event__comm_swap(union perf_event *event, bool sample_id_all) in perf_event__comm_swap() 291 static void perf_event__mmap_swap(union perf_event *event, in perf_event__mmap_swap() 308 static void perf_event__mmap2_swap(union perf_event *event, in perf_event__mmap2_swap() 331 static void perf_event__task_swap(union perf_event *event, bool sample_id_all) in perf_event__task_swap() 343 static void perf_event__read_swap(union perf_event *event, bool sample_id_all) in perf_event__read_swap() 356 static void perf_event__aux_swap(union perf_event *event, bool sample_id_all) in perf_event__aux_swap() 366 static void perf_event__itrace_start_swap(union perf_event *event, in perf_event__itrace_start_swap() [all …]
|
/linux/net/sctp/ |
H A D | ulpevent.c | 38 static void sctp_ulpevent_init(struct sctp_ulpevent *event, in sctp_ulpevent_init() 51 struct sctp_ulpevent *event; in sctp_ulpevent_new() local 68 int sctp_ulpevent_is_notification(const struct sctp_ulpevent *event) in sctp_ulpevent_is_notification() 76 static inline void sctp_ulpevent_set_owner(struct sctp_ulpevent *event, in sctp_ulpevent_set_owner() 95 static inline void sctp_ulpevent_release_owner(struct sctp_ulpevent *event) in sctp_ulpevent_release_owner() 119 struct sctp_ulpevent *event; in sctp_ulpevent_make_assoc_change() local 246 struct sctp_ulpevent *event; in sctp_ulpevent_make_peer_addr_change() local 344 struct sctp_ulpevent *event; in sctp_ulpevent_notify_peer_addr_change() local 379 struct sctp_ulpevent *event; in sctp_ulpevent_make_remote_error() local 434 struct sctp_ulpevent *event; in sctp_ulpevent_make_send_failed() local [all …]
|
/linux/drivers/s390/net/ |
H A D | ctcm_fsms.c | 229 static void ctcm_action_nop(fsm_instance *fi, int event, void *arg) in ctcm_action_nop() 246 static void chx_txdone(fsm_instance *fi, int event, void *arg) in chx_txdone() 334 void ctcm_chx_txidle(fsm_instance *fi, int event, void *arg) in ctcm_chx_txidle() 355 static void chx_rx(fsm_instance *fi, int event, void *arg) in chx_rx() 431 static void chx_firstio(fsm_instance *fi, int event, void *arg) in chx_firstio() 509 static void chx_rxidle(fsm_instance *fi, int event, void *arg) in chx_rxidle() 548 static void ctcm_chx_setmode(fsm_instance *fi, int event, void *arg) in ctcm_chx_setmode() 588 static void ctcm_chx_start(fsm_instance *fi, int event, void *arg) in ctcm_chx_start() 651 static void ctcm_chx_haltio(fsm_instance *fi, int event, void *arg) in ctcm_chx_haltio() 739 static void ctcm_chx_stopped(fsm_instance *fi, int event, void *arg) in ctcm_chx_stopped() [all …]
|
/linux/drivers/s390/cio/ |
H A D | vfio_ccw_fsm.c | 155 enum vfio_ccw_event event) in fsm_notoper() 181 enum vfio_ccw_event event) in fsm_nop() 186 enum vfio_ccw_event event) in fsm_io_error() 193 enum vfio_ccw_event event) in fsm_io_busy() 199 enum vfio_ccw_event event) in fsm_io_retry() 205 enum vfio_ccw_event event) in fsm_async_error() 217 enum vfio_ccw_event event) in fsm_async_retry() 223 enum vfio_ccw_event event) in fsm_disabled_irq() 244 enum vfio_ccw_event event) in fsm_io_request() 332 enum vfio_ccw_event event) in fsm_async_request() [all …]
|
/linux/drivers/perf/ |
H A D | arm_pmuv3.c | 329 static bool armv8pmu_event_is_64bit(struct perf_event *event) in armv8pmu_event_is_64bit() 334 static bool armv8pmu_event_want_user_access(struct perf_event *event) in armv8pmu_event_want_user_access() 467 static bool armv8pmu_event_has_user_read(struct perf_event *event) in armv8pmu_event_has_user_read() 477 static bool armv8pmu_event_is_chained(struct perf_event *event) in armv8pmu_event_is_chained() 518 static u64 armv8pmu_read_hw_counter(struct perf_event *event) in armv8pmu_read_hw_counter() 534 static bool armv8pmu_event_needs_bias(struct perf_event *event) in armv8pmu_event_needs_bias() 550 static u64 armv8pmu_bias_long_counter(struct perf_event *event, u64 value) in armv8pmu_bias_long_counter() 558 static u64 armv8pmu_unbias_long_counter(struct perf_event *event, u64 value) in armv8pmu_unbias_long_counter() 566 static u64 armv8pmu_read_counter(struct perf_event *event) in armv8pmu_read_counter() 587 static void armv8pmu_write_hw_counter(struct perf_event *event, in armv8pmu_write_hw_counter() [all …]
|
H A D | riscv_pmu.c | 21 static bool riscv_perf_user_access(struct perf_event *event) in riscv_perf_user_access() 30 void arch_perf_update_userpage(struct perf_event *event, in arch_perf_update_userpage() 145 u64 riscv_pmu_ctr_get_width_mask(struct perf_event *event) in riscv_pmu_ctr_get_width_mask() 160 u64 riscv_pmu_event_update(struct perf_event *event) in riscv_pmu_event_update() 187 void riscv_pmu_stop(struct perf_event *event, int flags) in riscv_pmu_stop() 202 int riscv_pmu_event_set_period(struct perf_event *event) in riscv_pmu_event_set_period() 240 void riscv_pmu_start(struct perf_event *event, int flags) in riscv_pmu_start() 257 static int riscv_pmu_add(struct perf_event *event, int flags) in riscv_pmu_add() 281 static void riscv_pmu_del(struct perf_event *event, int flags) in riscv_pmu_del() 299 static void riscv_pmu_read(struct perf_event *event) in riscv_pmu_read() [all …]
|
H A D | arm_v7_pmu.c | 730 static inline u64 armv7pmu_read_counter(struct perf_event *event) in armv7pmu_read_counter() 750 static inline void armv7pmu_write_counter(struct perf_event *event, u64 value) in armv7pmu_write_counter() 848 static void armv7pmu_enable_event(struct perf_event *event) in armv7pmu_enable_event() 889 static void armv7pmu_disable_event(struct perf_event *event) in armv7pmu_disable_event() 941 struct perf_event *event = cpuc->events[idx]; in armv7pmu_handle_irq() local 990 struct perf_event *event) in armv7pmu_get_event_idx() 1019 struct perf_event *event) in armv7pmu_clear_event_idx() 1027 static int armv7pmu_set_event_filter(struct hw_perf_event *event, in armv7pmu_set_event_filter() 1073 static int armv7_a8_map_event(struct perf_event *event) in armv7_a8_map_event() 1079 static int armv7_a9_map_event(struct perf_event *event) in armv7_a9_map_event() [all …]
|
/linux/tools/testing/selftests/powerpc/pmu/ |
H A D | event.h | 15 struct event { struct 16 struct perf_event_attr attr; argument 32 void event_init(struct event *e, u64 config); argument
|
/linux/arch/powerpc/perf/ |
H A D | isa207-common.c | 45 static inline bool event_is_fab_match(u64 event) in event_is_fab_match() 54 static bool is_event_valid(u64 event) in is_event_valid() 66 static inline bool is_event_marked(u64 event) in is_event_marked() 74 static unsigned long sdar_mod_val(u64 event) in sdar_mod_val() 82 static void mmcra_sdar_mode(u64 event, unsigned long *mmcra) in mmcra_sdar_mode() 164 static unsigned long combine_from_event(u64 event) in combine_from_event() 180 static inline bool event_is_threshold(u64 event) in event_is_threshold() 185 static bool is_thresh_cmp_valid(u64 event) in is_thresh_cmp_valid() 206 static unsigned int dc_ic_rld_quad_l1_sel(u64 event) in dc_ic_rld_quad_l1_sel() 401 int isa207_get_constraint(u64 event, unsigned long *maskp, unsigned long *valp, u64 event_config1) in isa207_get_constraint() [all …]
|
H A D | imc-pmu.c | 59 static struct imc_pmu *imc_event_to_pmu(struct perf_event *event) in imc_event_to_pmu() 154 u32 base, struct imc_events *event) in imc_parse_event() 459 static void nest_imc_counters_release(struct perf_event *event) in nest_imc_counters_release() 511 static int nest_imc_event_init(struct perf_event *event) in nest_imc_event_init() 744 static void reset_global_refc(struct perf_event *event) in reset_global_refc() 761 static void core_imc_counters_release(struct perf_event *event) in core_imc_counters_release() 814 static int core_imc_event_init(struct perf_event *event) in core_imc_event_init() 980 static int thread_imc_event_init(struct perf_event *event) in thread_imc_event_init() 1026 static bool is_thread_imc_pmu(struct perf_event *event) in is_thread_imc_pmu() 1034 static __be64 *get_event_base_addr(struct perf_event *event) in get_event_base_addr() [all …]
|
/linux/drivers/isdn/mISDN/ |
H A D | layer2.c | 278 l2_timeout(struct FsmInst *fi, int event, void *arg) in l2_timeout() 714 l2_mdl_error_ua(struct FsmInst *fi, int event, void *arg) in l2_mdl_error_ua() 727 l2_mdl_error_dm(struct FsmInst *fi, int event, void *arg) in l2_mdl_error_dm() 742 l2_st8_mdl_error_dm(struct FsmInst *fi, int event, void *arg) in l2_st8_mdl_error_dm() 756 l2_go_st3(struct FsmInst *fi, int event, void *arg) in l2_go_st3() 763 l2_mdl_assign(struct FsmInst *fi, int event, void *arg) in l2_mdl_assign() 773 l2_queue_ui_assign(struct FsmInst *fi, int event, void *arg) in l2_queue_ui_assign() 784 l2_queue_ui(struct FsmInst *fi, int event, void *arg) in l2_queue_ui() 810 l2_send_ui(struct FsmInst *fi, int event, void *arg) in l2_send_ui() 820 l2_got_ui(struct FsmInst *fi, int event, void *arg) in l2_got_ui() [all …]
|
H A D | layer1.c | 109 l1_reset(struct FsmInst *fi, int event, void *arg) in l1_reset() 115 l1_deact_cnf(struct FsmInst *fi, int event, void *arg) in l1_deact_cnf() 125 l1_deact_req_s(struct FsmInst *fi, int event, void *arg) in l1_deact_req_s() 135 l1_power_up_s(struct FsmInst *fi, int event, void *arg) in l1_power_up_s() 147 l1_go_F5(struct FsmInst *fi, int event, void *arg) in l1_go_F5() 153 l1_go_F8(struct FsmInst *fi, int event, void *arg) in l1_go_F8() 159 l1_info2_ind(struct FsmInst *fi, int event, void *arg) in l1_info2_ind() 168 l1_info4_ind(struct FsmInst *fi, int event, void *arg) in l1_info4_ind() 185 l1_timer3(struct FsmInst *fi, int event, void *arg) in l1_timer3() 202 l1_timer_act(struct FsmInst *fi, int event, void *arg) in l1_timer_act() [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | event.c | 26 nvkm_event_put(struct nvkm_event *event, u32 types, int index) in nvkm_event_put() 43 nvkm_event_get(struct nvkm_event *event, u32 types, int index) in nvkm_event_get() 62 struct nvkm_event *event = ntfy->event; in nvkm_event_ntfy_state() local 133 struct nvkm_event *event = ntfy->event; in nvkm_event_ntfy_del() local 146 nvkm_event_ntfy_add(struct nvkm_event *event, int id, u32 bits, bool wait, nvkm_event_func func, in nvkm_event_ntfy_add() 164 nvkm_event_ntfy_valid(struct nvkm_event *event, int id, u32 bits) in nvkm_event_ntfy_valid() 170 nvkm_event_ntfy(struct nvkm_event *event, int id, u32 bits) in nvkm_event_ntfy() 192 nvkm_event_fini(struct nvkm_event *event) in nvkm_event_fini() 202 int types_nr, int index_nr, struct nvkm_event *event) in __nvkm_event_init()
|
/linux/arch/x86/events/intel/ |
H A D | core.c | 2313 struct perf_event *event = in __intel_pmu_enable_all() local 2393 struct perf_event *event; in intel_pmu_nhm_workaround() local 2498 static inline bool event_is_checkpointed(struct perf_event *event) in event_is_checkpointed() 2503 static inline void intel_set_masks(struct perf_event *event, int idx) in intel_set_masks() 2515 static inline void intel_clear_masks(struct perf_event *event, int idx) in intel_clear_masks() 2524 static void intel_pmu_disable_fixed(struct perf_event *event) in intel_pmu_disable_fixed() 2549 static void intel_pmu_disable_event(struct perf_event *event) in intel_pmu_disable_event() 2585 static void intel_pmu_assign_event(struct perf_event *event, int idx) in intel_pmu_assign_event() 2591 static __always_inline bool intel_pmu_needs_branch_stack(struct perf_event *event) in intel_pmu_needs_branch_stack() 2596 static void intel_pmu_del_event(struct perf_event *event) in intel_pmu_del_event() [all …]
|
/linux/sound/core/seq/ |
H A D | seq_ump_convert.c | 367 struct snd_seq_ump_event *event = (struct snd_seq_ump_event *)__event; in cvt_ump_midi1_to_midi2() local 437 struct snd_seq_ump_event *event = (struct snd_seq_ump_event *)__event; in cvt_ump_midi2_to_midi1() local 506 struct snd_seq_event *event, in cvt_ump_to_any() 585 struct snd_seq_event *event, in snd_seq_deliver_from_ump() 628 static int note_ev_to_ump_midi1(const struct snd_seq_event *event, in note_ev_to_ump_midi1() 643 static int cc_ev_to_ump_midi1(const struct snd_seq_event *event, in cc_ev_to_ump_midi1() 656 static int ctrl_ev_to_ump_midi1(const struct snd_seq_event *event, in ctrl_ev_to_ump_midi1() 668 static int pitchbend_ev_to_ump_midi1(const struct snd_seq_event *event, in pitchbend_ev_to_ump_midi1() 684 static int ctrl14_ev_to_ump_midi1(const struct snd_seq_event *event, in ctrl14_ev_to_ump_midi1() 705 static int rpn_ev_to_ump_midi1(const struct snd_seq_event *event, in rpn_ev_to_ump_midi1() [all …]
|
/linux/arch/s390/kernel/ |
H A D | perf_pai_crypto.c | 39 struct perf_event *event; /* Perf event for sampling */ member 87 static void paicrypt_event_destroy_cpu(struct perf_event *event, int cpu) in paicrypt_event_destroy_cpu() 110 static void paicrypt_event_destroy(struct perf_event *event) in paicrypt_event_destroy() 137 static u64 paicrypt_getdata(struct perf_event *event, bool kernel) in paicrypt_getdata() 160 static u64 paicrypt_getall(struct perf_event *event) in paicrypt_getall() 179 static struct paicrypt_map *paicrypt_busy(struct perf_event *event, int cpu) in paicrypt_busy() 245 static int paicrypt_event_init_all(struct perf_event *event) in paicrypt_event_init_all() 280 static int paicrypt_event_init(struct perf_event *event) in paicrypt_event_init() 334 static void paicrypt_read(struct perf_event *event) in paicrypt_read() 346 static void paicrypt_start(struct perf_event *event, int flags) in paicrypt_start() [all …]
|
H A D | perf_pai_ext.c | 52 struct perf_event *event; /* Perf event for sampling */ member 120 static void paiext_event_destroy_cpu(struct perf_event *event, int cpu) in paiext_event_destroy_cpu() 132 static void paiext_event_destroy(struct perf_event *event) in paiext_event_destroy() 164 static int paiext_alloc_cpu(struct perf_event *event, int cpu) in paiext_alloc_cpu() 224 static int paiext_alloc(struct perf_event *event) in paiext_alloc() 260 static int paiext_event_valid(struct perf_event *event) in paiext_event_valid() 273 static int paiext_event_init(struct perf_event *event) in paiext_event_init() 330 static u64 paiext_getdata(struct perf_event *event) in paiext_getdata() 347 static u64 paiext_getall(struct perf_event *event) in paiext_getall() 352 static void paiext_read(struct perf_event *event) in paiext_read() [all …]
|
/linux/drivers/scsi/bfa/ |
H A D | bfa_fcs_rport.c | 187 bfa_fcs_rport_sm_uninit(struct bfa_fcs_rport_s *rport, enum rport_event event) in bfa_fcs_rport_sm_uninit() 226 enum rport_event event) in bfa_fcs_rport_sm_plogi_sending() 287 enum rport_event event) in bfa_fcs_rport_sm_plogiacc_sending() 353 enum rport_event event) in bfa_fcs_rport_sm_plogi_retry() 423 bfa_fcs_rport_sm_plogi(struct bfa_fcs_rport_s *rport, enum rport_event event) in bfa_fcs_rport_sm_plogi() 529 enum rport_event event) in bfa_fcs_rport_sm_fc4_fcs_online() 595 enum rport_event event) in bfa_fcs_rport_sm_hal_online() 644 bfa_fcs_rport_sm_online(struct bfa_fcs_rport_s *rport, enum rport_event event) in bfa_fcs_rport_sm_online() 698 enum rport_event event) in bfa_fcs_rport_sm_nsquery_sending() 747 bfa_fcs_rport_sm_nsquery(struct bfa_fcs_rport_s *rport, enum rport_event event) in bfa_fcs_rport_sm_nsquery() [all …]
|
H A D | bfa_fcs_lport.c | 122 enum bfa_fcs_lport_event event) in bfa_fcs_lport_sm_uninit() 139 enum bfa_fcs_lport_event event) in bfa_fcs_lport_sm_init() 174 enum bfa_fcs_lport_event event) in bfa_fcs_lport_sm_online() 234 enum bfa_fcs_lport_event event) in bfa_fcs_lport_sm_offline() 289 enum bfa_fcs_lport_event event) in bfa_fcs_lport_sm_stopping() 314 enum bfa_fcs_lport_event event) in bfa_fcs_lport_sm_deleting() 341 enum bfa_lport_aen_event event) in bfa_fcs_lport_aen_post() 1452 enum port_fdmi_event event) in bfa_fcs_lport_fdmi_sm_offline() 1492 enum port_fdmi_event event) in bfa_fcs_lport_fdmi_sm_sending_rhba() 1517 enum port_fdmi_event event) in bfa_fcs_lport_fdmi_sm_rhba() [all …]
|
/linux/kernel/trace/ |
H A D | trace_output.c | 298 struct trace_event_call *event; in trace_raw_output_prep() local 681 struct trace_event *event; in ftrace_find_event() local 739 int register_trace_event(struct trace_event *event) in register_trace_event() 789 int __unregister_trace_event(struct trace_event *event) in __unregister_trace_event() 800 int unregister_trace_event(struct trace_event *event) in unregister_trace_event() 944 struct trace_event *event) in print_event_fields() 985 struct trace_event *event) in trace_nop_print() 1008 struct trace_event *event) in trace_fn_trace() 1022 struct trace_event *event) in trace_fn_raw() 1036 struct trace_event *event) in trace_fn_hex() [all …]
|
/linux/drivers/perf/hisilicon/ |
H A D | hisi_uncore_pmu.c | 51 static bool hisi_validate_event_group(struct perf_event *event) in hisi_validate_event_group() 84 int hisi_uncore_pmu_get_event_idx(struct perf_event *event) in hisi_uncore_pmu_get_event_idx() 119 struct perf_event *event; in hisi_uncore_pmu_isr() local 170 int hisi_uncore_pmu_event_init(struct perf_event *event) in hisi_uncore_pmu_event_init() 228 static void hisi_uncore_pmu_enable_event(struct perf_event *event) in hisi_uncore_pmu_enable_event() 246 static void hisi_uncore_pmu_disable_event(struct perf_event *event) in hisi_uncore_pmu_disable_event() 258 void hisi_uncore_pmu_set_event_period(struct perf_event *event) in hisi_uncore_pmu_set_event_period() 278 void hisi_uncore_pmu_event_update(struct perf_event *event) in hisi_uncore_pmu_event_update() 299 void hisi_uncore_pmu_start(struct perf_event *event, int flags) in hisi_uncore_pmu_start() 322 void hisi_uncore_pmu_stop(struct perf_event *event, int flags) in hisi_uncore_pmu_stop() [all …]
|
/linux/drivers/dma/idxd/ |
H A D | perfmon.c | 50 static bool is_idxd_event(struct idxd_pmu *idxd_pmu, struct perf_event *event) in is_idxd_event() 59 struct perf_event *event; in perfmon_collect_events() local 94 struct perf_event *event, int idx) in perfmon_assign_hw_event() 105 struct perf_event *event) in perfmon_assign_event() 125 struct perf_event *event) in perfmon_validate_group() 168 static int perfmon_pmu_event_init(struct perf_event *event) in perfmon_pmu_event_init() 199 static inline u64 perfmon_pmu_read_counter(struct perf_event *event) in perfmon_pmu_read_counter() 210 static void perfmon_pmu_event_update(struct perf_event *event) in perfmon_pmu_event_update() 233 struct perf_event *event; in perfmon_counter_overflow() local 289 static void perfmon_pmu_event_start(struct perf_event *event, int mode) in perfmon_pmu_event_start() [all …]
|
/linux/sound/soc/codecs/ |
H A D | mt6359.c | 818 int event) in mt_sgen_event() 1044 int event) in mt_hp_event() 1074 int event) in mt_rcv_event() 1158 int event) in mt_lo_event() 1269 int event) in mt_adc_clk_gen_event() 1309 int event) in mt_dcc_clk_event() 1344 int event) in mt_mic_bias_0_event() 1398 int event) in mt_mic_bias_1_event() 1431 int event) in mt_mic_bias_2_event() 1482 int event) in mt_mtkaif_tx_event() [all …]
|