Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - How to fillter User Class events?: (11 Items)
   
How to fillter User Class events?  
Hello,

Customer noticed that he cannot select User Class events at Class Mode logging since there is no corresponding (User) 
Tab in Event Filtres.
Is it available to enable/add User Class Events in IDE 4.6 (QNX Momentics 6.4.1) while logging in Class Mode?

Regards,
Mike
Re: How to fillter User Class events?  
> Hello,
> 
> Customer noticed that he cannot select User Class events at Class Mode logging
>  since there is no corresponding (User) Tab in Event Filtres.
> Is it available to enable/add User Class Events in IDE 4.6 (QNX Momentics 6.4.
> 1) while logging in Class Mode?
> 
> Regards,
> Mike


This is a procnto-instr and tracelogger feature that was mentioned to be implemented long ago, but is yet not available.

procnto-instr is not capable of applying filters to this class, as it is also not capable of applying dynamic event 
filters to USER class.

dynamic event filters are realy missing, whereas "normal" static filters could be seen as not realy necessary. why would
 you insert user events and filter them afterwards on logging?

/hp
Re: How to fillter User Class events?  
>> Hello,
>> 
>> Customer noticed that he cannot select User Class events at Class Mode logging
>>  since there is no corresponding (User) Tab in Event Filtres.
>> Is it available to enable/add User Class Events in IDE 4.6 (QNX Momentics 6.4.
>> 1) while logging in Class Mode?
>> 
>> Regards,
>> Mike


> This is a procnto-instr and tracelogger feature that was mentioned
> to be implemented long ago, but is yet not available.
> procnto-instr is not capable of applying filters to this class, as
> it is also not capable of applying dynamic event filters to USER class.

> dynamic event filters are realy missing, whereas "normal" static
> filters could be seen as not realy necessary. why would you insert
> user events and filter them afterwards on logging?

> /hp



> _______________________________________________

> General
> http://community.qnx.com/sf/go/post65746



As workaround I recomended to filter after logging. But the log file
was big enough because of long time of logging. By myself I uses
tracelogger utility (which is Neutrino Host only) and if I want to log
much time I turn off unnessesary event classes (for example, ker calls
and interrupts) by -F options. That gives me user events plus a couple
of remaining classes. I thought IDE goes in the same way but wondered
it was not.

So, in IDE I can get users event only with globally set Fast or Wide
mode in Event Filters Tab. Am I correct?

Regards,
Mike
Re: How to fillter User Class events?  
> 
> >> Hello,
> >> 
> >> Customer noticed that he cannot select User Class events at Class Mode 
> logging
> >>  since there is no corresponding (User) Tab in Event Filtres.
> >> Is it available to enable/add User Class Events in IDE 4.6 (QNX Momentics 6
> .4.
> >> 1) while logging in Class Mode?
> >> 
> >> Regards,
> >> Mike
> 
> 
> > This is a procnto-instr and tracelogger feature that was mentioned
> > to be implemented long ago, but is yet not available.
> > procnto-instr is not capable of applying filters to this class, as
> > it is also not capable of applying dynamic event filters to USER class.
> 
> > dynamic event filters are realy missing, whereas "normal" static
> > filters could be seen as not realy necessary. why would you insert
> > user events and filter them afterwards on logging?
> 
> > /hp
> 
> 
> 
> > _______________________________________________
> 
> > General
> > http://community.qnx.com/sf/go/post65746
> 
> 
> 
> As workaround I recomended to filter after logging. But the log file
> was big enough because of long time of logging. By myself I uses
> tracelogger utility (which is Neutrino Host only) and if I want to log
> much time I turn off unnessesary event classes (for example, ker calls
> and interrupts) by -F options. That gives me user events plus a couple
> of remaining classes. I thought IDE goes in the same way but wondered
> it was not.
> 
> So, in IDE I can get users event only with globally set Fast or Wide
> mode in Event Filters Tab. Am I correct?
> 
> Regards,
> Mike

IDE goes the some way, but it only can provide filters available on tracelogger.
logging in IDE is done through qconn -> tracelogger.
There is no -F for User Class available.
http://www.qnx.com/developers/docs/6.5.0/index.jsp?topic=/com.qnx.doc.neutrino_utilities/t/tracelogger.html

HTH
/hp
Re: How to fillter User Class events?  
Здравствуйте, Hans-Peter.

Вы писали 3 сентября 2010 г., 11:51:09:

>> 
>> >> Hello,
>> >> 
>> >> Customer noticed that he cannot select User Class events at Class Mode 
>> logging
>> >>  since there is no corresponding (User) Tab in Event Filtres.
>> >> Is it available to enable/add User Class Events in IDE 4.6 (QNX Momentics 6
>> .4.
>> >> 1) while logging in Class Mode?
>> >> 
>> >> Regards,
>> >> Mike
>> 
>> 
>> > This is a procnto-instr and tracelogger feature that was mentioned
>> > to be implemented long ago, but is yet not available.
>> > procnto-instr is not capable of applying filters to this class, as
>> > it is also not capable of applying dynamic event filters to USER class.
>> 
>> > dynamic event filters are realy missing, whereas "normal" static
>> > filters could be seen as not realy necessary. why would you insert
>> > user events and filter them afterwards on logging?
>> 
>> > /hp
>> 
>> 
>> 
>> > _______________________________________________
>> 
>> > General
>> > http://community.qnx.com/sf/go/post65746
>> 
>> 
>> 
>> As workaround I recomended to filter after logging. But the log file
>> was big enough because of long time of logging. By myself I uses
>> tracelogger utility (which is Neutrino Host only) and if I want to log
>> much time I turn off unnessesary event classes (for example, ker calls
>> and interrupts) by -F options. That gives me user events plus a couple
>> of remaining classes. I thought IDE goes in the same way but wondered
>> it was not.
>> 
>> So, in IDE I can get users event only with globally set Fast or Wide
>> mode in Event Filters Tab. Am I correct?
>> 
>> Regards,
>> Mike

> IDE goes the some way, but it only can provide filters available on tracelogger.
> logging in IDE is done through qconn -> tracelogger.
> There is no -F for User Class available.
> http://www.qnx.com/developers/docs/6.5.0/index.jsp?topic=/com.qnx.doc.neutrino_utilities/t/tracelogger.html

> HTH
> /hp



> _______________________________________________

> General
> http://community.qnx.com/sf/go/post65832


You are right. I used tracelogger's -F classes for other classes. Not
for User class. Seems I explained it not clearly above. Let look from
problem side.
Customer runs several programs which genarate user
events. He watns to minimize log size by disabling unnesessary events.
How he could log his user events with minimum other events using IDE?

By tracelogger I goes like follows:
# tracelogger -F1 -F2 -F4 -F5 -F6 -s0
It leaves Process and System classes plus my own user events.

Regards,
Mike
Re: How to fillter User Class events?  
> Здравствуйте, Hans-Peter.
> 
> Вы писали 3 сентября 2010 г., 11:51:09:
> 
> >> 
> >> >> Hello,
> >> >> 
> >> >> Customer noticed that he cannot select User Class events at Class Mode 
> >> logging
> >> >>  since there is no corresponding (User) Tab in Event Filtres.
> >> >> Is it available to enable/add User Class Events in IDE 4.6 (QNX 
> Momentics 6
> >> .4.
> >> >> 1) while logging in Class Mode?
> >> >> 
> >> >> Regards,
> >> >> Mike
> >> 
> >> 
> >> > This is a procnto-instr and tracelogger feature that was mentioned
> >> > to be implemented long ago, but is yet not available.
> >> > procnto-instr is not capable of applying filters to this class, as
> >> > it is also not capable of applying dynamic event filters to USER class.
> >> 
> >> > dynamic event filters are realy missing, whereas "normal" static
> >> > filters could be seen as not realy necessary. why would you insert
> >> > user events and filter them afterwards on logging?
> >> 
> >> > /hp
> >> 
> >> 
> >> 
> >> > _______________________________________________
> >> 
> >> > General
> >> > http://community.qnx.com/sf/go/post65746
> >> 
> >> 
> >> 
> >> As workaround I recomended to filter after logging. But the log file
> >> was big enough because of long time of logging. By myself I uses
> >> tracelogger utility (which is Neutrino Host only) and if I want to log
> >> much time I turn off unnessesary event classes (for example, ker calls
> >> and interrupts) by -F options. That gives me user events plus a couple
> >> of remaining classes. I thought IDE goes in the same way but wondered
> >> it was not.
> >> 
> >> So, in IDE I can get users event only with globally set Fast or Wide
> >> mode in Event Filters Tab. Am I correct?
> >> 
> >> Regards,
> >> Mike
> 
> > IDE goes the some way, but it only can provide filters available on 
> tracelogger.
> > logging in IDE is done through qconn -> tracelogger.
> > There is no -F for User Class available.
> > http://www.qnx.com/developers/docs/6.5.0/index.jsp?topic=/com.qnx.doc.
> neutrino_utilities/t/tracelogger.html
> 
> > HTH
> > /hp
> 
> 
> 
> > _______________________________________________
> 
> > General
> > http://community.qnx.com/sf/go/post65832
> 
> 
> You are right. I used tracelogger's -F classes for other classes. Not
> for User class. Seems I explained it not clearly above. Let look from
> problem side.
> Customer runs several programs which genarate user
> events. He watns to minimize log size by disabling unnesessary events.
> How he could log his user events with minimum other events using IDE?
> 
> By tracelogger I goes like follows:
> # tracelogger -F1 -F2 -F4 -F5 -F6 -s0
> It leaves Process and System classes plus my own user events.
> 
> Regards,
> Mike

I double checked IDE 4.6.1 and 4.7.0
in both versions you can filter user event class in total, but not event specific.
From dialog "Log Configurations" you can click through all the event class tabs, including "User" class and disable it.

/hp
Re: How to fillter User Class events?  
That is strangely, because I do not have User Class Tab. Please see attachment screenshot.
Attachment: Image event_filtres_tab.PNG 666.12 KB
Re: How to fillter User Class events?  
which Build Id do you use? Help -> About
I have 2010015 running
And which qconn version are you running?
# use -i qconn
DATE=2009/05/20-17:25:15-EDT
Re: How to fillter User Class events?  
> which Build Id do you use? Help -> About
> I have 2010015 running
> And which qconn version are you running?
> # use -i qconn
> DATE=2009/05/20-17:25:15-EDT

I use Version 4.6.0 Build id: I20090510
And qconn DATE=2009/05/20-17:25:15-EDT

It seems my build id is older. How can I update it to your id?
Re: How to fillter User Class events?  
The IDE does not provide the ability to enable/disable user events for kernel logging. There is an open feature request 
for adding this functionality, but there is no ETA for its completion.

> Hello,
> 
> Customer noticed that he cannot select User Class events at Class Mode logging
>  since there is no corresponding (User) Tab in Event Filtres.
> Is it available to enable/add User Class Events in IDE 4.6 (QNX Momentics 6.4.
> 1) while logging in Class Mode?
> 
> Regards,
> Mike


Re: How to fillter User Class events?  
I understood it. The problem of customer is how to get user events in
Class Specific mode of Events Filter of Log Configuration dialog in
6.4.1.
I have just tried QNX Momentics 6.5.0 with IDE Version: 4.7.0 Build
id: 201006232051 and I can get user events in above mentioned mode!
This is a good news. And still a bad one is that customer is 6.4.1 buyer.
I cannot just say to him - go to 6.5.0 :(

Regards,
Mike

> The IDE does not provide the ability to enable/disable user events
> for kernel logging. There is an open feature request for adding this
> functionality, but there is no ETA for its completion.

>> Hello,
>> 
>> Customer noticed that he cannot select User Class events at Class Mode logging
>>  since there is no corresponding (User) Tab in Event Filtres.
>> Is it available to enable/add User Class Events in IDE 4.6 (QNX Momentics 6.4.
>> 1) while logging in Class Mode?
>> 
>> Regards,
>> Mike