Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [ltt-dev] Problems on usage of markers in combination with tracepoint probes
       [not found] <AANLkTikvutGze72UC6tyuVUDhk3UG5n6QTpA7BJ--thF@mail.gmail.com>
@ 2010-06-19 15:50 ` Mathieu Desnoyers
  0 siblings, 0 replies; only message in thread
From: Mathieu Desnoyers @ 2010-06-19 15:50 UTC (permalink / raw)


* jerome zh (jeromezhr at gmail.com) wrote:
> Hi Mathieu,
> 
> I did some read on the paper of lttng project, especially your Ph.D thesis.
> I have got some questions:
> 
> 1. Why and when should the marker be used in combination with tracepoint probes?

LTTng is not aware of tracepoints at the moment. So a marker
"declaration" is required to declare the event type and fields. A
tracepoint probe needs to be connected on the tracepoint to write the
event data into the trace stream. See ltt/ltt-type-serializer.c for
details.

> 2. If I want to insert tracepoints in kernel files, such as
> net/ipv4/ip_input.c, can I implement the tracepoints as module?
> Since samples given in samples/tracepoint do NOT show this.

The tracepoint itself must be inserted into the kernel code.

The tracepoint probes, alongside with marker type declaration, must go
into ltt/probes/, which are basically kernel modules.

Thanks,

Mathieu


> 
> -- 
> Regards,
> 
> Jerome
> 
> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
> 

-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-06-19 15:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <AANLkTikvutGze72UC6tyuVUDhk3UG5n6QTpA7BJ--thF@mail.gmail.com>
2010-06-19 15:50 ` [ltt-dev] Problems on usage of markers in combination with tracepoint probes Mathieu Desnoyers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox