Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - System Profiler - Event Filters - Control Events - Disable?: (7 Items)
   
System Profiler - Event Filters - Control Events - Disable?  
Hi,

a customer found an issue in the System Profiler. He tried to set Event Filters for the log (before the log gets done) 
and decided to select Class Specific. By doing that, the IDE displays tabs for each class and there you can set Fast, 
Wide, Event Specific or Disable.

The customer set Control Events to Disable and then had issues opening the log file later. In my understanding, 'Control
 Events' are

1) not visible in the timeline, because they are actually *used* to coordinate the event generation (e.g. logging a 
ClockCycles wrap)

2) mandatory to be enabled, because without them, the System Profiler (and probably traceprinter) cannot completely 
interpret the kernel log.

Is this correct? If so, it should not be possible to manipulate the setting for Control Events at all, thus the 
corresponding tab should not be displayed. Shall I file a PR?


- Malte
Re: System Profiler - Event Filters - Control Events - Disable?  
> ...because they are actually *used* to coordinate
>  the event generation (e.g. logging a ClockCycles wrap)
Yes that is correct. They are used to properly order the events in the log file and to determine whether buffers had 
been dropped during the logging
 
> 2) mandatory to be enabled, because without them, the System Profiler (and 
> probably traceprinter) cannot completely interpret the kernel log.
> 
> Is this correct? If so, it should not be possible to manipulate the setting 
> for Control Events at all, thus the corresponding tab should not be displayed.
>  Shall I file a PR?
Yes, please do. There are some other events (or event combinations) that IDE depends on you having to yield correct 
results (for example: filtering all thread running states, except for thread running, will completely skew your 
statistics).

Re: System Profiler - Event Filters - Control Events - Disable?  
I filed PR# 70323.

I understand that with 6.4.2, the meaning of the events finally (!) is being documented. This will decrease the 
probability that customers fiddle around with these configurations while not knowing what the events are really for.


- Malte
Re: System Profiler - Event Filters - Control Events - Disable?  
For everyone's entertainment and edification, here are the descriptions of the events and classes that Malte referred to
. They'll be in the SAT docs in the next release.

The formatting is a bit odd because of the wide tables, but I hope you will find the document useful. Feedback is (as 
always) welcome.
Attachment: PDF trace_events.pdf 50.53 KB
Re: System Profiler - Event Filters - Control Events - Disable?  
Steve Reid wrote:
> For everyone's entertainment and edification, here are the descriptions of the events and classes that Malte referred 
to. They'll be in the SAT docs in the next release.
>
> The formatting is a bit odd because of the wide tables, but I hope you will find the document useful. Feedback is (as 
always) welcome.
>   
I know that this is a difficult task, but this documentation is really 
only of significant benefit
to developers who are interacting with events at the C code level.  Most 
users will be interacting
with the events and event classes at the tool level (via tracelogger or 
the System Profiler) so
it would be nice if there could also be a mapping of these C define's to 
the 'english strings'
that are used in tracelogger and the System Profiler.

A side benefit of doing this round-up would be that some of the 
inconstancies among all of
the tools and runtime would be potentially cleared up.

Thomas ... just a System Profiler user these days =;-)
RE: System Profiler - Event Filters - Control Events - Disable?  
That's a good suggestion. Thanks, Thomas.


Steve Reid (stever@qnx.com)
Technical Editor
QNX Software Systems 
 

> -----Original Message-----
> From: Thomas Fletcher [mailto:community-noreply@qnx.com] 
> Sent: Tuesday, August 18, 2009 10:04 AM
> To: general-ide
> Subject: Re: System Profiler - Event Filters - Control Events 
> - Disable?
> 
> Steve Reid wrote:
> > For everyone's entertainment and edification, here are the 
> descriptions of the events and classes that Malte referred 
> to. They'll be in the SAT docs in the next release.
> >
> > The formatting is a bit odd because of the wide tables, but 
> I hope you will find the document useful. Feedback is (as 
> always) welcome.
> >   
> I know that this is a difficult task, but this documentation 
> is really 
> only of significant benefit
> to developers who are interacting with events at the C code 
> level.  Most 
> users will be interacting
> with the events and event classes at the tool level (via 
> tracelogger or 
> the System Profiler) so
> it would be nice if there could also be a mapping of these C 
> define's to 
> the 'english strings'
> that are used in tracelogger and the System Profiler.
> 
> A side benefit of doing this round-up would be that some of the 
> inconstancies among all of
> the tools and runtime would be potentially cleared up.
> 
> Thomas ... just a System Profiler user these days =;-)
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post36176
> 
> 
Re: RE: System Profiler - Event Filters - Control Events - Disable?  
That wasn't as difficult a task as I expected. Here's a new PDF description of the classes and events, but with the 
traceprinter and IDE labels included. Some of the tables go right to the edge of the page, but I think they're still 
readable (I'll experiment with the formatting).

Attachment: PDF trace_events.pdf 52.47 KB