From: compudj Date: Mon, 27 Oct 2008 19:50:47 +0000 (+0000) Subject: move kernel_arch to kernel X-Git-Tag: v0.12.20~357 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=f258e8a7df556eaab23fcf5c9ac7aebf94e6d2ca;p=lttv.git move kernel_arch to kernel git-svn-id: http://ltt.polymtl.ca/svn@3132 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/trunk/lttv/lttv/lttv/state.c b/trunk/lttv/lttv/lttv/state.c index b9bd1416..ffbca79d 100644 --- a/trunk/lttv/lttv/lttv/state.c +++ b/trunk/lttv/lttv/lttv/state.c @@ -49,7 +49,6 @@ GQuark LTT_FACILITY_KERNEL, - LTT_FACILITY_KERNEL_ARCH, LTT_FACILITY_LIST, LTT_FACILITY_FS, LTT_FACILITY_USER_GENERIC, @@ -3447,7 +3446,7 @@ void lttv_state_add_event_hooks(LttvTracesetState *self) process_fork, NULL, &hooks); lttv_trace_find_hook(ts->parent.t, - LTT_FACILITY_KERNEL_ARCH, + LTT_FACILITY_KERNEL, LTT_EVENT_KTHREAD_CREATE, FIELD_ARRAY(LTT_FIELD_PID), process_kernel_thread, NULL, &hooks); @@ -4191,7 +4190,6 @@ static void module_init() LTT_FACILITY_KERNEL = g_quark_from_string("kernel"); - LTT_FACILITY_KERNEL_ARCH = g_quark_from_string("kernel_arch"); LTT_FACILITY_FS = g_quark_from_string("fs"); LTT_FACILITY_LIST = g_quark_from_string("list"); LTT_FACILITY_USER_GENERIC = g_quark_from_string("user_generic"); diff --git a/trunk/lttv/lttv/lttv/state.h b/trunk/lttv/lttv/lttv/state.h index 306bef5c..6e8164b6 100644 --- a/trunk/lttv/lttv/lttv/state.h +++ b/trunk/lttv/lttv/lttv/state.h @@ -57,7 +57,6 @@ extern GQuark LTT_FACILITY_KERNEL, - LTT_FACILITY_KERNEL_ARCH, LTT_FACILITY_FS, LTT_FACILITY_LIST, LTT_FACILITY_USER_GENERIC, diff --git a/trunk/lttv/lttv/lttv/stats.c b/trunk/lttv/lttv/lttv/stats.c index 0bfb4546..cb09fd0d 100644 --- a/trunk/lttv/lttv/lttv/stats.c +++ b/trunk/lttv/lttv/lttv/stats.c @@ -1068,28 +1068,28 @@ void lttv_stats_add_event_hooks(LttvTracesetStats *self) hooks = g_array_sized_new(FALSE, FALSE, sizeof(LttvTraceHook), 12); lttv_trace_find_hook(ts->parent.parent.t, - LTT_FACILITY_KERNEL_ARCH, + LTT_FACILITY_KERNEL, LTT_EVENT_SYSCALL_ENTRY, FIELD_ARRAY(LTT_FIELD_SYSCALL_ID), before_syscall_entry, NULL, &hooks); lttv_trace_find_hook(ts->parent.parent.t, - LTT_FACILITY_KERNEL_ARCH, + LTT_FACILITY_KERNEL, LTT_EVENT_SYSCALL_EXIT, NULL, before_syscall_exit, NULL, &hooks); lttv_trace_find_hook(ts->parent.parent.t, - LTT_FACILITY_KERNEL_ARCH, + LTT_FACILITY_KERNEL, LTT_EVENT_TRAP_ENTRY, FIELD_ARRAY(LTT_FIELD_TRAP_ID), before_trap_entry, NULL, &hooks); lttv_trace_find_hook(ts->parent.parent.t, - LTT_FACILITY_KERNEL_ARCH, + LTT_FACILITY_KERNEL, LTT_EVENT_TRAP_EXIT, NULL, before_trap_exit, NULL, @@ -1157,28 +1157,28 @@ void lttv_stats_add_event_hooks(LttvTracesetStats *self) hooks = g_array_sized_new(FALSE, FALSE, sizeof(LttvTraceHook), 16); lttv_trace_find_hook(ts->parent.parent.t, - LTT_FACILITY_KERNEL_ARCH, + LTT_FACILITY_KERNEL, LTT_EVENT_SYSCALL_ENTRY, FIELD_ARRAY(LTT_FIELD_SYSCALL_ID), after_syscall_entry, NULL, &hooks); lttv_trace_find_hook(ts->parent.parent.t, - LTT_FACILITY_KERNEL_ARCH, + LTT_FACILITY_KERNEL, LTT_EVENT_SYSCALL_EXIT, NULL, after_syscall_exit, NULL, &hooks); lttv_trace_find_hook(ts->parent.parent.t, - LTT_FACILITY_KERNEL_ARCH, + LTT_FACILITY_KERNEL, LTT_EVENT_TRAP_ENTRY, FIELD_ARRAY(LTT_FIELD_TRAP_ID), after_trap_entry, NULL, &hooks); lttv_trace_find_hook(ts->parent.parent.t, - LTT_FACILITY_KERNEL_ARCH, + LTT_FACILITY_KERNEL, LTT_EVENT_TRAP_EXIT, NULL, after_trap_exit, NULL,