Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/oprofile/
Doprofile_perf.c75 struct perf_event *pevent; in op_create_counter() local
80 pevent = perf_event_create_kernel_counter(&counter_config[event].attr, in op_create_counter()
84 if (IS_ERR(pevent)) in op_create_counter()
85 return PTR_ERR(pevent); in op_create_counter()
87 if (pevent->state != PERF_EVENT_STATE_ACTIVE) { in op_create_counter()
88 perf_event_release_kernel(pevent); in op_create_counter()
94 perf_events[cpu][event] = pevent; in op_create_counter()
101 struct perf_event *pevent = perf_events[cpu][event]; in op_destroy_counter() local
103 if (pevent) { in op_destroy_counter()
104 perf_event_release_kernel(pevent); in op_destroy_counter()
/linux-2.6.39/tools/perf/util/
Dpython.c66 static PyObject *pyrf_mmap_event__repr(struct pyrf_event *pevent) in pyrf_mmap_event__repr() argument
74 pevent->event.mmap.pid, pevent->event.mmap.tid, in pyrf_mmap_event__repr()
75 pevent->event.mmap.start, pevent->event.mmap.len, in pyrf_mmap_event__repr()
76 pevent->event.mmap.pgoff, pevent->event.mmap.filename) < 0) { in pyrf_mmap_event__repr()
108 static PyObject *pyrf_task_event__repr(struct pyrf_event *pevent) in pyrf_task_event__repr() argument
112 pevent->event.header.type == PERF_RECORD_FORK ? "fork" : "exit", in pyrf_task_event__repr()
113 pevent->event.fork.pid, in pyrf_task_event__repr()
114 pevent->event.fork.ppid, in pyrf_task_event__repr()
115 pevent->event.fork.tid, in pyrf_task_event__repr()
116 pevent->event.fork.ptid, in pyrf_task_event__repr()
[all …]
/linux-2.6.39/arch/x86/kernel/
Dkgdb.c244 struct perf_event **pevent; in hw_break_reserve_slot() local
251 pevent = per_cpu_ptr(breakinfo[breakno].pev, cpu); in hw_break_reserve_slot()
252 if (dbg_reserve_bp_slot(*pevent)) in hw_break_reserve_slot()
263 pevent = per_cpu_ptr(breakinfo[breakno].pev, cpu); in hw_break_reserve_slot()
264 dbg_release_bp_slot(*pevent); in hw_break_reserve_slot()
271 struct perf_event **pevent; in hw_break_release_slot() local
278 pevent = per_cpu_ptr(breakinfo[breakno].pev, cpu); in hw_break_release_slot()
279 if (dbg_release_bp_slot(*pevent)) in hw_break_release_slot()
626 struct perf_event **pevent; in kgdb_arch_late() local
650 pevent = per_cpu_ptr(breakinfo[i].pev, cpu); in kgdb_arch_late()
[all …]
/linux-2.6.39/kernel/
Dhw_breakpoint.c507 struct perf_event * __percpu *cpu_events, **pevent, *bp; in register_wide_hw_breakpoint() local
517 pevent = per_cpu_ptr(cpu_events, cpu); in register_wide_hw_breakpoint()
520 *pevent = bp; in register_wide_hw_breakpoint()
533 pevent = per_cpu_ptr(cpu_events, cpu); in register_wide_hw_breakpoint()
534 if (IS_ERR(*pevent)) in register_wide_hw_breakpoint()
536 unregister_hw_breakpoint(*pevent); in register_wide_hw_breakpoint()
552 struct perf_event **pevent; in unregister_wide_hw_breakpoint() local
555 pevent = per_cpu_ptr(cpu_events, cpu); in unregister_wide_hw_breakpoint()
556 unregister_hw_breakpoint(*pevent); in unregister_wide_hw_breakpoint()
/linux-2.6.39/include/linux/ceph/
Dosd_client.h284 struct ceph_osd_event **pevent);
/linux-2.6.39/drivers/scsi/bfa/
Dbfa_svc.c2143 struct bfi_fcport_event_s *pevent = fcport->event_arg.i2hmsg.event; in bfa_fcport_sm_linkdown() local
2159 pevent->link_state.vc_fcf.fcf.fipenabled); in bfa_fcport_sm_linkdown()
2161 pevent->link_state.vc_fcf.fcf.fipfailed); in bfa_fcport_sm_linkdown()
2163 if (pevent->link_state.vc_fcf.fcf.fipfailed) in bfa_fcport_sm_linkdown()
2893 struct bfi_fcport_event_s *pevent = fcport->event_arg.i2hmsg.event; in bfa_fcport_update_linkinfo() local
2896 fcport->speed = pevent->link_state.speed; in bfa_fcport_update_linkinfo()
2897 fcport->topology = pevent->link_state.topology; in bfa_fcport_update_linkinfo()
2903 fcport->qos_attr = pevent->link_state.qos_attr; in bfa_fcport_update_linkinfo()
2904 fcport->qos_vc_attr = pevent->link_state.vc_fcf.qos_vc_attr; in bfa_fcport_update_linkinfo()
2913 fcport->fcoe_vlan = be16_to_cpu(pevent->link_state.vc_fcf.fcf.vlan); in bfa_fcport_update_linkinfo()
/linux-2.6.39/tools/perf/util/scripting-engines/
Dtrace-event-perl.c248 static void perl_process_event(union perf_event *pevent __unused, in perl_process_event()
Dtrace-event-python.c207 static void python_process_event(union perf_event *pevent __unused, in python_process_event()
/linux-2.6.39/net/ceph/
Dosd_client.c1519 struct ceph_osd_event **pevent) in ceph_osdc_create_event() argument
1542 *pevent = event; in ceph_osdc_create_event()