[ltt-dev] [PATCH v3 0/1] add tracepoints of panic and kexec
Zhaolei
zhaolei at cn.fujitsu.com
Mon Dec 29 20:52:05 EST 2008
* 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
>
More information about the lttng-dev
mailing list