Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - about system profiler usage: (6 Items)
   
about system profiler usage  
hi all, 
     I have a problem about how to save system info log once running the process. since the process runned so quickly 
that after I clicked "upload logging"  using for system profiler, the process was already exit. at that time, the log 
info about this process wasn't exact. so, could you pls. point out the way or give me the reference? thanks very much!
Re: about system profiler usage  
For scenarios like this, I use two launch configurations, one for my
application, one for the kernel trace logging. I set the logging interval
for the kernel trace to a larger value (like 10-20s), and launch it. While
the logging is running, I run my application, which runs while the logging
takes place. The application exits before the logging finishes (if you set
a long enough interval).

On 12-03-02 2:16 AM, "newjor chen" <community-noreply@qnx.com> wrote:

>hi all, 
>     I have a problem about how to save system info log once running the
>process. since the process runned so quickly that after I clicked "upload
>logging"  using for system profiler, the process was already exit. at
>that time, the log info about this process wasn't exact. so, could you
>pls. point out the way or give me the reference? thanks very much!
>
>
>
>_______________________________________________
>
>General
>http://community.qnx.com/sf/go/post91886
>
Re: about system profiler usage  
I use kernel logging "tool" in the launch configuration of my process. It starts the logging just before you process is 
started and will log for X seconds that you 
specified in logging launch configuration

On 03/02/2012 09:07 AM, David Cummings wrote:
> For scenarios like this, I use two launch configurations, one for my
> application, one for the kernel trace logging. I set the logging interval
> for the kernel trace to a larger value (like 10-20s), and launch it. While
> the logging is running, I run my application, which runs while the logging
> takes place. The application exits before the logging finishes (if you set
> a long enough interval).
> 
> On 12-03-02 2:16 AM, "newjor chen" <community-noreply@qnx.com> wrote:
> 
>> hi all, 
>>     I have a problem about how to save system info log once running the
>> process. since the process runned so quickly that after I clicked "upload
>> logging"  using for system profiler, the process was already exit. at
>> that time, the log info about this process wasn't exact. so, could you
>> pls. point out the way or give me the reference? thanks very much!
>>
>>
>>
>> _______________________________________________
>>
>> General
>> http://community.qnx.com/sf/go/post91886
>>
> 
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post91890
> 
Re: about system profiler usage  
Thanks all, I follow Elena's means and can be work! 
However, I have another question that I want to debug program at target board, but the debug tool warn that can not find
 'qdebug' at target board, I want to know where can I find this proxy tool?

BRs
newjor
Re: about system profiler usage  
You mean "pdebug"? This utility has to be on the device to be able to debug. I.e. part of the system image.

On 03/05/2012 03:24 AM, newjor chen wrote:
> Thanks all, I follow Elena's means and can be work! 
> However, I have another question that I want to debug program at target board, but the debug tool warn that can not 
find 'qdebug' at target board, I want to know where can I find this proxy tool?
> 
> BRs
> newjor
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post91903
> 
Re: about system profiler usage  
yes, I mean "pdebug". So how can I add this utility into the image?Thanks!

BRs
Newjor