Searched refs:tp_event (Results 1 - 8 of 8) sorted by relevance
/linux-4.4.14/kernel/trace/ |
H A D | trace_event_perf.c | 24 static int perf_trace_event_perm(struct trace_event_call *tp_event, perf_trace_event_perm() argument 27 if (tp_event->perf_perm) { perf_trace_event_perm() 28 int ret = tp_event->perf_perm(tp_event, p_event); perf_trace_event_perm() 46 if (ftrace_event_is_function(tp_event)) { perf_trace_event_perm() 72 if (tp_event->flags & TRACE_EVENT_FL_CAP_ANY) perf_trace_event_perm() 86 static int perf_trace_event_reg(struct trace_event_call *tp_event, perf_trace_event_reg() argument 93 p_event->tp_event = tp_event; perf_trace_event_reg() 94 if (tp_event->perf_refcount++ > 0) perf_trace_event_reg() 104 tp_event->perf_events = list; perf_trace_event_reg() 119 ret = tp_event->class->reg(tp_event, TRACE_REG_PERF_REGISTER, NULL); perf_trace_event_reg() 136 if (!--tp_event->perf_refcount) { perf_trace_event_reg() 137 free_percpu(tp_event->perf_events); perf_trace_event_reg() 138 tp_event->perf_events = NULL; perf_trace_event_reg() 146 struct trace_event_call *tp_event = p_event->tp_event; perf_trace_event_unreg() local 149 if (--tp_event->perf_refcount > 0) perf_trace_event_unreg() 152 tp_event->class->reg(tp_event, TRACE_REG_PERF_UNREGISTER, NULL); perf_trace_event_unreg() 160 free_percpu(tp_event->perf_events); perf_trace_event_unreg() 161 tp_event->perf_events = NULL; perf_trace_event_unreg() 170 module_put(tp_event->mod); perf_trace_event_unreg() 175 struct trace_event_call *tp_event = p_event->tp_event; perf_trace_event_open() local 176 return tp_event->class->reg(tp_event, TRACE_REG_PERF_OPEN, p_event); perf_trace_event_open() 181 struct trace_event_call *tp_event = p_event->tp_event; perf_trace_event_close() local 182 tp_event->class->reg(tp_event, TRACE_REG_PERF_CLOSE, p_event); perf_trace_event_close() 185 static int perf_trace_event_init(struct trace_event_call *tp_event, perf_trace_event_init() argument 190 ret = perf_trace_event_perm(tp_event, p_event); perf_trace_event_init() 194 ret = perf_trace_event_reg(tp_event, p_event); perf_trace_event_init() 209 struct trace_event_call *tp_event; perf_trace_init() local 214 list_for_each_entry(tp_event, &ftrace_events, list) { perf_trace_init() 215 if (tp_event->event.type == event_id && perf_trace_init() 216 tp_event->class && tp_event->class->reg && perf_trace_init() 217 try_module_get(tp_event->mod)) { perf_trace_init() 218 ret = perf_trace_event_init(tp_event, p_event); perf_trace_init() 220 module_put(tp_event->mod); perf_trace_init() 239 struct trace_event_call *tp_event = p_event->tp_event; perf_trace_add() local 243 pcpu_list = tp_event->perf_events; perf_trace_add() 253 return tp_event->class->reg(tp_event, TRACE_REG_PERF_ADD, p_event); perf_trace_add() 258 struct trace_event_call *tp_event = p_event->tp_event; perf_trace_del() local 260 tp_event->class->reg(tp_event, TRACE_REG_PERF_DEL, p_event); perf_trace_del()
|
H A D | trace_events_filter.c | 2284 call = event->tp_event; ftrace_profile_set_filter()
|
/linux-4.4.14/drivers/edac/ |
H A D | sb_edac.c | 2050 enum hw_event_mc_err_type tp_event; sbridge_mce_output_error() local 2074 tp_event = HW_EVENT_ERR_FATAL; sbridge_mce_output_error() 2077 tp_event = HW_EVENT_ERR_UNCORRECTED; sbridge_mce_output_error() 2081 tp_event = HW_EVENT_ERR_CORRECTED; sbridge_mce_output_error() 2173 edac_mc_handle_error(tp_event, mci, core_err_cnt, sbridge_mce_output_error() 2179 edac_mc_handle_error(tp_event, mci, core_err_cnt, 0, 0, 0, sbridge_mce_output_error()
|
H A D | i7core_edac.c | 1704 enum hw_event_mc_err_type tp_event; i7core_mce_output_error() local 1717 tp_event = HW_EVENT_ERR_FATAL; i7core_mce_output_error() 1719 tp_event = HW_EVENT_ERR_UNCORRECTED; i7core_mce_output_error() 1721 tp_event = HW_EVENT_ERR_CORRECTED; i7core_mce_output_error() 1783 edac_mc_handle_error(tp_event, mci, core_err_cnt, i7core_mce_output_error()
|
H A D | i5400_edac.c | 525 enum hw_event_mc_err_type tp_event = HW_EVENT_ERR_UNCORRECTED; i5400_proccess_non_recoverable_info() local 532 tp_event = HW_EVENT_ERR_FATAL; i5400_proccess_non_recoverable_info() 563 edac_mc_handle_error(tp_event, mci, 1, 0, 0, 0, i5400_proccess_non_recoverable_info()
|
/linux-4.4.14/include/linux/ |
H A D | perf_event.h | 118 /* for tp_event->class */ 573 struct trace_event_call *tp_event; member in struct:perf_event
|
H A D | trace_events.h | 398 static int perf_perm_##name(struct trace_event_call *tp_event, \
|
/linux-4.4.14/kernel/events/ |
H A D | core.c | 7072 if (event->tp_event->prog) perf_event_set_bpf_prog() 7075 if (!(event->tp_event->flags & TRACE_EVENT_FL_UKPROBE)) perf_event_set_bpf_prog() 7089 event->tp_event->prog = prog; perf_event_set_bpf_prog() 7098 if (!event->tp_event) perf_event_free_bpf_prog() 7101 prog = event->tp_event->prog; perf_event_free_bpf_prog() 7103 event->tp_event->prog = NULL; perf_event_free_bpf_prog()
|
Completed in 461 milliseconds