[lttng-dev] [RFC] LTTng-UST loglevels

Michel Dagenais michel.dagenais at polymtl.ca
Mon Feb 13 14:35:53 EST 2012


> >         TRACE_DEBUG_SYSTEM      = 7,
> >         TRACE_DEBUG_PROGRAM     = 8,
> >         TRACE_DEBUG_PROCESS     = 9,
> >         TRACE_DEBUG_MODULE      = 10,
> >         TRACE_DEBUG_UNIT        = 11,
> >         TRACE_DEBUG_FUNCTION    = 12,
> >         TRACE_DEBUG_LINE        = 13,
> >
> >
> I still don't understand how we should choose to use any of the
> TRACE_DEBUG levels.

I would guess that you start at level 7 for everywhere to discover which program is problematic, then you enable level 8 for the problematic program and find the offending process, and so on to dig into a problem up to the "line" level. I would not expect tracepoints at the line level... though.



More information about the lttng-dev mailing list