Home
last modified time | relevance | path

Searched refs:pevent (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.1.9/tools/perf/util/
Dtrace-event-read.c81 static unsigned int read4(struct tep_handle *pevent) in read4() argument
87 return tep_read_number(pevent, &data, 4); in read4()
90 static unsigned long long read8(struct tep_handle *pevent) in read8() argument
96 return tep_read_number(pevent, &data, 8); in read8()
143 static int read_proc_kallsyms(struct tep_handle *pevent) in read_proc_kallsyms() argument
147 size = read4(pevent); in read_proc_kallsyms()
166 static int read_ftrace_printk(struct tep_handle *pevent) in read_ftrace_printk() argument
172 size = read4(pevent); in read_ftrace_printk()
187 parse_ftrace_printk(pevent, buf, size); in read_ftrace_printk()
193 static int read_header_files(struct tep_handle *pevent) in read_header_files() argument
[all …]
Dtrace-event.c30 struct tep_handle *pevent = tep_alloc(); in trace_event__init() local
32 if (pevent) { in trace_event__init()
33 t->plugin_list = tep_load_plugins(pevent); in trace_event__init()
34 t->pevent = pevent; in trace_event__init()
37 return pevent ? 0 : -1; in trace_event__init()
43 struct tep_handle *pevent; in trace_event__init2() local
48 pevent = tevent.pevent; in trace_event__init2()
49 tep_set_flag(pevent, TEP_NSEC_OUTPUT); in trace_event__init2()
50 tep_set_file_bigendian(pevent, be); in trace_event__init2()
51 tep_set_local_bigendian(pevent, be); in trace_event__init2()
[all …]
Dtrace-event-parse.c18 struct tep_handle *pevent = context->pevent; in get_common_field() local
24 event = tep_get_first_event(pevent); in get_common_field()
35 return tep_read_number(pevent, context->event_data + *offset, *size); in get_common_field()
123 void parse_ftrace_printk(struct tep_handle *pevent, in parse_ftrace_printk() argument
144 tep_register_print_string(pevent, printk, addr); in parse_ftrace_printk()
149 void parse_saved_cmdline(struct tep_handle *pevent, in parse_saved_cmdline() argument
160 tep_register_comm(pevent, comm, pid); in parse_saved_cmdline()
165 int parse_ftrace_file(struct tep_handle *pevent, char *buf, unsigned long size) in parse_ftrace_file() argument
167 return tep_parse_event(pevent, buf, size, "ftrace"); in parse_ftrace_file()
170 int parse_event_file(struct tep_handle *pevent, in parse_event_file() argument
[all …]
Dpython.c209 static PyObject *pyrf_mmap_event__repr(struct pyrf_event *pevent) in pyrf_mmap_event__repr() argument
217 pevent->event.mmap.pid, pevent->event.mmap.tid, in pyrf_mmap_event__repr()
218 pevent->event.mmap.start, pevent->event.mmap.len, in pyrf_mmap_event__repr()
219 pevent->event.mmap.pgoff, pevent->event.mmap.filename) < 0) { in pyrf_mmap_event__repr()
251 static PyObject *pyrf_task_event__repr(struct pyrf_event *pevent) in pyrf_task_event__repr() argument
255 pevent->event.header.type == PERF_RECORD_FORK ? "fork" : "exit", in pyrf_task_event__repr()
256 pevent->event.fork.pid, in pyrf_task_event__repr()
257 pevent->event.fork.ppid, in pyrf_task_event__repr()
258 pevent->event.fork.tid, in pyrf_task_event__repr()
259 pevent->event.fork.ptid, in pyrf_task_event__repr()
[all …]
Dtrace-event.h17 struct tep_handle *pevent; member
38 int parse_ftrace_file(struct tep_handle *pevent, char *buf, unsigned long size);
39 int parse_event_file(struct tep_handle *pevent,
45 void parse_proc_kallsyms(struct tep_handle *pevent, char *file, unsigned int size);
46 void parse_ftrace_printk(struct tep_handle *pevent, char *file, unsigned int size);
47 void parse_saved_cmdline(struct tep_handle *pevent, char *file, unsigned int size);
96 int (*generate_script) (struct tep_handle *pevent, const char *outfile);
110 struct tep_handle *pevent; member
Dtrace-event-scripting.c30 c->pevent = evsel->tp_format->tep; in scripting_context__update()
32 c->pevent = NULL; in scripting_context__update()
77 static int python_generate_script_unsupported(struct tep_handle *pevent in python_generate_script_unsupported()
143 static int perl_generate_script_unsupported(struct tep_handle *pevent in perl_generate_script_unsupported()
/linux-6.1.9/arch/x86/kernel/
Dkgdb.c230 struct perf_event **pevent; in hw_break_reserve_slot() local
237 pevent = per_cpu_ptr(breakinfo[breakno].pev, cpu); in hw_break_reserve_slot()
238 if (dbg_reserve_bp_slot(*pevent)) in hw_break_reserve_slot()
249 pevent = per_cpu_ptr(breakinfo[breakno].pev, cpu); in hw_break_reserve_slot()
250 dbg_release_bp_slot(*pevent); in hw_break_reserve_slot()
257 struct perf_event **pevent; in hw_break_release_slot() local
264 pevent = per_cpu_ptr(breakinfo[breakno].pev, cpu); in hw_break_release_slot()
265 if (dbg_release_bp_slot(*pevent)) in hw_break_release_slot()
642 struct perf_event **pevent; in kgdb_arch_late() local
666 pevent = per_cpu_ptr(breakinfo[i].pev, cpu); in kgdb_arch_late()
[all …]
/linux-6.1.9/drivers/net/wireless/rsi/
Drsi_common.h27 static inline int rsi_init_event(struct rsi_event *pevent) in rsi_init_event() argument
29 atomic_set(&pevent->event_condition, 1); in rsi_init_event()
30 init_waitqueue_head(&pevent->event_queue); in rsi_init_event()
/linux-6.1.9/fs/notify/fanotify/
Dfanotify.c541 struct fanotify_path_event *pevent; in fanotify_alloc_path_event() local
543 pevent = kmem_cache_alloc(fanotify_path_event_cachep, gfp); in fanotify_alloc_path_event()
544 if (!pevent) in fanotify_alloc_path_event()
547 pevent->fae.type = FANOTIFY_EVENT_TYPE_PATH; in fanotify_alloc_path_event()
548 pevent->path = *path; in fanotify_alloc_path_event()
552 return &pevent->fae; in fanotify_alloc_path_event()
558 struct fanotify_perm_event *pevent; in fanotify_alloc_perm_event() local
560 pevent = kmem_cache_alloc(fanotify_perm_event_cachep, gfp); in fanotify_alloc_perm_event()
561 if (!pevent) in fanotify_alloc_perm_event()
564 pevent->fae.type = FANOTIFY_EVENT_TYPE_PATH_PERM; in fanotify_alloc_perm_event()
[all …]
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/sw/
Dnvsw.c40 struct nvkm_event **pevent) in nvkm_nvsw_ntfy_() argument
45 *pevent = &nvsw->chan->event; in nvkm_nvsw_ntfy_()
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/fault/
Duser.c44 struct nvkm_event **pevent) in nvkm_ufault_ntfy() argument
48 *pevent = &buffer->fault->event; in nvkm_ufault_ntfy()
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dgpfifogf100.c37 struct nvkm_event **pevent) in gf100_fifo_chan_ntfy() argument
41 *pevent = &chan->fifo->uevent; in gf100_fifo_chan_ntfy()
44 *pevent = &chan->fifo->kevent; in gf100_fifo_chan_ntfy()
Dchang84.c35 struct nvkm_event **pevent) in g84_fifo_chan_ntfy() argument
39 *pevent = &chan->fifo->uevent; in g84_fifo_chan_ntfy()
Dchan.c255 struct nvkm_event **pevent) in nvkm_fifo_chan_ntfy() argument
259 return chan->func->ntfy(chan, type, pevent); in nvkm_fifo_chan_ntfy()
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/core/
Doproxy.c34 struct nvkm_event **pevent) in nvkm_oproxy_ntfy() argument
36 return nvkm_object_ntfy(nvkm_oproxy(object)->object, mthd, pevent); in nvkm_oproxy_ntfy()
Dobject.c97 struct nvkm_event **pevent) in nvkm_object_ntfy() argument
100 return object->func->ntfy(object, mthd, pevent); in nvkm_object_ntfy()
/linux-6.1.9/drivers/net/ethernet/ti/
Dam65-cpts.c265 struct ptp_clock_event pevent; in am65_cpts_fifo_read() local
310 pevent.index = am65_cpts_event_get_port(event) - 1; in am65_cpts_fifo_read()
311 pevent.timestamp = event->timestamp; in am65_cpts_fifo_read()
312 pevent.type = PTP_CLOCK_EXTTS; in am65_cpts_fifo_read()
314 pevent.index, event->timestamp); in am65_cpts_fifo_read()
316 ptp_clock_event(cpts->ptp_clock, &pevent); in am65_cpts_fifo_read()
Dcpts.c107 struct ptp_clock_event pevent; in cpts_fifo_read() local
157 pevent.timestamp = event->timestamp; in cpts_fifo_read()
158 pevent.type = PTP_CLOCK_EXTTS; in cpts_fifo_read()
159 pevent.index = cpts_event_port(event) - 1; in cpts_fifo_read()
160 ptp_clock_event(cpts->clock, &pevent); in cpts_fifo_read()
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dchan.c52 nvkm_disp_chan_ntfy(struct nvkm_object *object, u32 type, struct nvkm_event **pevent) in nvkm_disp_chan_ntfy() argument
59 *pevent = &disp->uevent; in nvkm_disp_chan_ntfy()
/linux-6.1.9/kernel/trace/
Dtrace_eprobe.c285 struct trace_event_call *pevent; in print_eprobe_event() local
305 pevent = container_of(probed_event, struct trace_event_call, event); in print_eprobe_event()
306 trace_seq_printf(s, "%s.%s", pevent->class->system, in print_eprobe_event()
307 trace_event_name(pevent)); in print_eprobe_event()
Dtrace_probe.c229 int traceprobe_parse_event_name(const char **pevent, const char **pgroup, in traceprobe_parse_event_name() argument
232 const char *slash, *event = *pevent; in traceprobe_parse_event_name()
254 *pevent = slash + 1; in traceprobe_parse_event_name()
256 event = *pevent; in traceprobe_parse_event_name()
261 *pevent = NULL; in traceprobe_parse_event_name()
Dtrace_probe.h365 int traceprobe_parse_event_name(const char **pevent, const char **pgroup,
/linux-6.1.9/tools/perf/util/scripting-engines/
Dtrace-event-perl.c544 static int perl_generate_script(struct tep_handle *pevent, const char *outfile) in perl_generate_script() argument
611 nr_events = tep_get_events_count(pevent); in perl_generate_script()
612 all_events = tep_list_events(pevent, TEP_EVENT_SORT_ID); in perl_generate_script()
/linux-6.1.9/tools/lib/traceevent/Documentation/
Dlibtraceevent-field_get_val.txt70 event = tep_find_event_by_record(pevent, record);
/linux-6.1.9/drivers/scsi/bfa/
Dbfa_svc.c2195 struct bfi_fcport_event_s *pevent = fcport->event_arg.i2hmsg.event; in bfa_fcport_sm_linkdown() local
2211 pevent->link_state.attr.vc_fcf.fcf.fipenabled); in bfa_fcport_sm_linkdown()
2213 pevent->link_state.attr.vc_fcf.fcf.fipfailed); in bfa_fcport_sm_linkdown()
2215 if (pevent->link_state.attr.vc_fcf.fcf.fipfailed) in bfa_fcport_sm_linkdown()
3096 struct bfi_fcport_event_s *pevent = fcport->event_arg.i2hmsg.event; in bfa_fcport_update_linkinfo() local
3099 fcport->speed = pevent->link_state.speed; in bfa_fcport_update_linkinfo()
3100 fcport->topology = pevent->link_state.topology; in bfa_fcport_update_linkinfo()
3104 &pevent->link_state.attr.loop_info); in bfa_fcport_update_linkinfo()
3109 fcport->qos_attr = pevent->link_state.qos_attr; in bfa_fcport_update_linkinfo()
3110 fcport->qos_vc_attr = pevent->link_state.attr.vc_fcf.qos_vc_attr; in bfa_fcport_update_linkinfo()
[all …]

12