> > I was also wondering if putting a "loglevel" information (could be
> 
> > optional) into the TRACEPOINT_EVENT declaration would be useful ?
> > This
> 
> > could define log levels such as debug, info, warning, and error.
> 

> I think that'd be useful - ETW does this on Windows, FWIW.
> Being able to enable/disable these sub-classes of events is probably
> useful
> and it shows the programmers general intent with each event too.

Hi Mathieu. A couple of questions at this point: 
1) would the loglevel be inserted into every event as an additional attribute? 
As what, an integer? 
2) Would you leave the interpretation and allowable values for "loglevel" open 
ended? It seems like that could be used for different levels of verbosity (but 
perhaps that is what "debug" is, verbose? 
3) would it be possible to filter/disallow tracing of events dynamically based 
on the log level? I have done this a few times in the past in various systems I 
have designed. 

cheers, 
Aaron Spear 
_______________________________________________
ltt-dev mailing list
[email protected]
http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev

Reply via email to