* [ltt-dev] the problem of register the probe function for irq_enty
@ 2009-03-05 16:44 long xu
2009-03-05 16:44 ` long xu
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: long xu @ 2009-03-05 16:44 UTC (permalink / raw)
Hello,
i'm reading the code of lttng now, i kown the programe use
---------------------------------------------
DEFINE_MARKER_TP(kernel, irq_entry, irq_entry, probe_irq_entry, "ip %lu
irq_id #2u%u kernel_mode #1u%u");----------------------------------------
to give the pointer of tracepoint probe function to the marker. But i have
not found how does it connect the probe_irq_entry to the tracepoint. i
don't find where it use the function register_trace_irq_entry to register
the probe function.
Thanks,
Best regard
XU Long
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20090305/f3f0a10f/attachment-0002.htm>
^ permalink raw reply [flat|nested] 4+ messages in thread* [ltt-dev] the problem of register the probe function for irq_enty
2009-03-05 16:44 [ltt-dev] the problem of register the probe function for irq_enty long xu
@ 2009-03-05 16:44 ` long xu
2009-03-05 16:44 ` long xu
2009-03-05 18:45 ` Mathieu Desnoyers
2 siblings, 0 replies; 4+ messages in thread
From: long xu @ 2009-03-05 16:44 UTC (permalink / raw)
Hello,
i'm reading the code of lttng now, i kown the programe use
---------------------------------------------
DEFINE_MARKER_TP(kernel, irq_entry, irq_entry, probe_irq_entry, "ip %lu
irq_id #2u%u kernel_mode #1u%u");----------------------------------------
to give the pointer of tracepoint probe function to the marker. But i have
not found how does it connect the probe_irq_entry to the tracepoint. i
don't find where it use the function register_trace_irq_entry to register
the probe function.
Thanks,
Best regard
XU Long
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20090305/f3f0a10f/attachment-0001.htm>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ltt-dev] the problem of register the probe function for irq_enty
2009-03-05 16:44 [ltt-dev] the problem of register the probe function for irq_enty long xu
2009-03-05 16:44 ` long xu
@ 2009-03-05 16:44 ` long xu
2009-03-05 18:45 ` Mathieu Desnoyers
2 siblings, 0 replies; 4+ messages in thread
From: long xu @ 2009-03-05 16:44 UTC (permalink / raw)
Hello,
i'm reading the code of lttng now, i kown the programe use
---------------------------------------------
DEFINE_MARKER_TP(kernel, irq_entry, irq_entry, probe_irq_entry, "ip %lu
irq_id #2u%u kernel_mode #1u%u");----------------------------------------
to give the pointer of tracepoint probe function to the marker. But i have
not found how does it connect the probe_irq_entry to the tracepoint. i
don't find where it use the function register_trace_irq_entry to register
the probe function.
Thanks,
Best regard
XU Long
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/ltt-dev/attachments/20090305/f3f0a10f/attachment.htm>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ltt-dev] the problem of register the probe function for irq_enty
2009-03-05 16:44 [ltt-dev] the problem of register the probe function for irq_enty long xu
2009-03-05 16:44 ` long xu
2009-03-05 16:44 ` long xu
@ 2009-03-05 18:45 ` Mathieu Desnoyers
2 siblings, 0 replies; 4+ messages in thread
From: Mathieu Desnoyers @ 2009-03-05 18:45 UTC (permalink / raw)
* long xu (long.x.xu at gmail.com) wrote:
> Hello,
>
> i'm reading the code of lttng now, i kown the programe use
> ---------------------------------------------
> DEFINE_MARKER_TP(kernel, irq_entry, irq_entry, probe_irq_entry, "ip %lu
> irq_id #2u%u kernel_mode #1u%u");----------------------------------------
> to give the pointer of tracepoint probe function to the marker. But i have
> not found how does it connect the probe_irq_entry to the tracepoint. i
> don't find where it use the function register_trace_irq_entry to register
> the probe function.
>
See kernel/marker.c :
set_marker()
call to tracepoint_probe_register_noupdate(). Basically, it's the marker
infrastructure which is responsible for iterating on the marker section
of core kernel and module to connect them to tracepoints.
Mathieu
> Thanks,
>
> Best regard
>
> XU Long
> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
--
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-03-05 18:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-05 16:44 [ltt-dev] the problem of register the probe function for irq_enty long xu
2009-03-05 16:44 ` long xu
2009-03-05 16:44 ` long xu
2009-03-05 18:45 ` Mathieu Desnoyers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox