lttv_trace_hook_remove_all(&hooks);
if(!lttv_trace_find_hook(tcs->parent.t,
- LTT_FACILITY_KERNEL_ARCH,
+ LTT_FACILITY_KERNEL,
LTT_EVENT_TRAP_ENTRY,
FIELD_ARRAY(LTT_FIELD_TRAP_ID),
NULL, NULL, &hooks)) {
syscall_exit, NULL, &hooks);
lttv_trace_find_hook(ts->parent.t,
- LTT_FACILITY_KERNEL_ARCH,
+ LTT_FACILITY_KERNEL,
LTT_EVENT_TRAP_ENTRY,
FIELD_ARRAY(LTT_FIELD_TRAP_ID),
trap_entry, NULL, &hooks);
lttv_trace_find_hook(ts->parent.t,
- LTT_FACILITY_KERNEL_ARCH,
+ LTT_FACILITY_KERNEL,
LTT_EVENT_TRAP_EXIT,
NULL,
trap_exit, NULL, &hooks);
&hooks);
lttv_trace_find_hook(ts->parent.t,
- LTT_FACILITY_KERNEL_ARCH,
+ LTT_FACILITY_KERNEL,
LTT_EVENT_TRAP_ENTRY,
FIELD_ARRAY(LTT_FIELD_TRAP_ID),
before_execmode_hook,
&hooks);
lttv_trace_find_hook(ts->parent.t,
- LTT_FACILITY_KERNEL_ARCH,
+ LTT_FACILITY_KERNEL,
LTT_EVENT_TRAP_EXIT,
NULL,
before_execmode_hook,
// &hooks);
//
lttv_trace_find_hook(ts->parent.t,
- LTT_FACILITY_KERNEL_ARCH,
+ LTT_FACILITY_KERNEL,
LTT_EVENT_TRAP_ENTRY,
FIELD_ARRAY(LTT_FIELD_TRAP_ID),
before_execmode_hook,
&hooks);
lttv_trace_find_hook(ts->parent.t,
- LTT_FACILITY_KERNEL_ARCH,
+ LTT_FACILITY_KERNEL,
LTT_EVENT_TRAP_EXIT,
NULL,
before_execmode_hook,
guint64 trap;
guint cpu = tfs->cpu;
- guint16 ev_id_entry = marker_get_id_from_info(trace, marker_get_info_from_name(trace, lttv_merge_facility_event_name(LTT_FACILITY_KERNEL_ARCH, LTT_EVENT_TRAP_ENTRY)));
- guint16 ev_id_exit = marker_get_id_from_info(trace, marker_get_info_from_name(trace, lttv_merge_facility_event_name(LTT_FACILITY_KERNEL_ARCH, LTT_EVENT_TRAP_EXIT)));
+ guint16 ev_id_entry = marker_get_id_from_info(trace, marker_get_info_from_name(trace, lttv_merge_facility_event_name(LTT_FACILITY_KERNEL, LTT_EVENT_TRAP_ENTRY)));
+ guint16 ev_id_exit = marker_get_id_from_info(trace, marker_get_info_from_name(trace, lttv_merge_facility_event_name(LTT_FACILITY_KERNEL, LTT_EVENT_TRAP_EXIT)));
if(ev_id_entry == e->event_id) {
trap = ltt_event_get_long_unsigned(e, lttv_trace_get_hook_field(th, 0));
}