From mboxrd@z Thu Jan 1 00:00:00 1970 From: zhaolei@cn.fujitsu.com (Zhaolei) Date: Tue, 30 Dec 2008 09:52:05 +0800 Subject: [ltt-dev] [PATCH v3 0/1] add tracepoints of panic and kexec In-Reply-To: <20081218184745.GA20815@Krystal> References: <4949BD17.2000704@cn.fujitsu.com> <4949BD46.3020806@cn.fujitsu.com> <20081218041402.GA21563@Krystal> <4949E1C3.7000308@cn.fujitsu.com> <4949E1F1.7020505@cn.fujitsu.com> <20081218184745.GA20815@Krystal> Message-ID: <49597EC5.7030400@cn.fujitsu.com> * Mathieu Desnoyers wrote: > * Zhaolei (zhaolei at cn.fujitsu.com) wrote: >> Instrumentation of following panic and kexec related events are added: >> panic >> kernel_kexec >> crash_kexec >> >> It is useful for build flight-recorder program based on lttng infrastructure. >> > > Hrm, I'm wondering if these are events we are interested to trace or if > you plan to use these tracepoints as hooks into the kernel to connect > the tracer infrastructure to it ? Hello, Mathieu, I modified this patch to use notifier.h on your suggest. Is is useful for flight-recorder, I think. B.R. Zhaolei > > If you plan to use those as hooks into the kernel, we should probably > consider adding notifiers instead (notifier.h). This is the "blessed" > way to be called upon such events. > > Mathieu >