[ltt-dev] Selection of trace file to read

Mathieu Desnoyers compudj at krystal.dyndns.org
Tue Jan 4 15:16:49 EST 2011


Hi Francis,

Event filtering belongs at the lttv layer (which is higher up than the
ltttraceread library), after the state reconstruction machine has
received the events it asked for. LTTV does implement a hooking
mechanism for which you can register callbacks that are only called for
specific events.

Thanks,

Mathieu

Francis Giraldeau wrote:
> Hi,
> 
> I'm interested only to kernel.sched_schedule events in a trace  
> generated with all trace events enabled. The trace read library  
> doesn't seems to allow to read only some kind of events, and all  
> events from all trace files must be read. Could it be a good feature  
> to add to the library? If so, how would should it be done?
> 
> Cheer,
> 
> Francis


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




More information about the lttng-dev mailing list