Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Qnx IDE: Tip of the Day #3: System Profiler - splitting kernel trace file: (6 Items)
   
Qnx IDE: Tip of the Day #3: System Profiler - splitting kernel trace file  
System Profiler's kernel trace files are usually huge. Because of the amount of aggregation System Profiler does it is 
painfully slow sometimes. If you are isolated a problem and want to work on or share a smaller file, you can select 
desired time line interval in the System Profiler editor and export it as individual .kev file.
To do that select File->Save As... menu and you would be prompted to enter a file name. Press OK. 
Open this new file in the editor or send to a friend.
AW: Qnx IDE: Tip of the Day #3: System Profiler - splitting kernel trace file  
doing this with the latest release, gives me an excpetion
when opening the newly generated kev

!ENTRY org.eclipse.ui 4 0 2009-03-13 15:39:33.540
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
	at org.eclipse.swt.SWT.error(SWT.java:3777)
	at org.eclipse.swt.SWT.error(SWT.java:3695)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Caused by: java.lang.NullPointerException
	at com.qnx.tools.ide.SystemProfiler.summary.pane.SummaryData.getSystemTimings(SummaryData.java:161)
	at com.qnx.tools.ide.SystemProfiler.summary.pane.SummaryPane.updateSummaryData(SummaryPane.java:485)
	at com.qnx.tools.ide.SystemProfiler.summary.pane.SummaryPane$2.summaryUpdated(SummaryPane.java:379)
	at com.qnx.tools.ide.SystemProfiler.summary.pane.SummaryData$2$1.run(SummaryData.java:70)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
	... 22 more 

>-----Ursprüngliche Nachricht-----
>Von: Elena Laskavaia [mailto:community-noreply@qnx.com] 
>Gesendet: Freitag, 13. März 2009 15:35
>An: tips-ide
>Betreff: Qnx IDE: Tip of the Day #3: System Profiler - 
>splitting kernel trace file
>
>System Profiler's kernel trace files are usually huge. Because 
>of the amount of aggregation System Profiler does it is 
>painfully slow sometimes. If you are isolated a problem and 
>want to work on or share a smaller file, you can select 
>desired time line interval in the System Profiler editor and 
>export it as individual .kev file.
>To do that select File->Save As... menu and you would be 
>prompted to enter a file name. Press OK. 
>Open this new file in the editor or send to a friend.
>
>_______________________________________________
>Tip of the Day
>http://community.qnx.com/sf/go/post24319
>
> 
 
*******************************************
Harman Becker Automotive Systems GmbH
Management Board: Dr. Klaus Blickle (Chairman), Dr. Udo Hüls, Michael Mauser
Chairman of the Supervisory Board: Ansgar Rempp | Domicile: Karlsbad | 
Local Court Mannheim: Register No. 361395

 
*******************************************
Diese...
View Full Message
Re: AW: Qnx IDE: Tip of the Day #3: System Profiler - splitting kernel trace file  
we broke something... I will open a PR. We may need your .kev file. Please post bugs on general forum next time.
Re: AW: Qnx IDE: Tip of the Day #3: System Profiler - splitting kernel trace file  
HP - Would it be possible for you to send me your trace file, build ID, selection range and which filters you had 
enabled? I'm unable to reproduce on my machine, so it is most likely something specific to your trace.
AW: AW: Qnx IDE: Tip of the Day #3: System Profiler - splitting kernel trace file  
sure, no problem
I've put the zip to the ftp server - /home/harman_ftp/users/fromHP
It's a kev from a Jacinto 6.3.2 System including Application Profiler Information
there were no filers active, and it works (doesn't) with an selection
I am using Version: 4.6.0 Build id: I20090304
It has been working for Version: 4.5.1 Build id: I20090105

Just tested a 2nd kev, without AppProfiler Information, that one is working
so it has to be something around the Function Enter/Exit stuff

thanks
/hp

>-----Ursprüngliche Nachricht-----
>Von: David Cummings [mailto:community-noreply@qnx.com] 
>Gesendet: Montag, 16. März 2009 15:14
>An: tips-ide
>Betreff: Re: AW: Qnx IDE: Tip of the Day #3: System Profiler - 
>splitting kernel trace file
>
>HP - Would it be possible for you to send me your trace file, 
>build ID, selection range and which filters you had enabled? 
>I'm unable to reproduce on my machine, so it is most likely 
>something specific to your trace.
>
>_______________________________________________
>Tip of the Day
>http://community.qnx.com/sf/go/post24424
>
> 
 
*******************************************
Harman Becker Automotive Systems GmbH
Management Board: Dr. Klaus Blickle (Chairman), Dr. Udo Hüls, Michael Mauser
Chairman of the Supervisory Board: Ansgar Rempp | Domicile: Karlsbad | 
Local Court Mannheim: Register No. 361395

 
*******************************************
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat 
sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und loeschen Sie diese Mail
. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have 
received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, 
disclosure or distribution of the contents in this e-mail is strictly forbidden.
*******************************************
Re: AW: AW: Qnx IDE: Tip of the Day #3: System Profiler - splitting kernel trace file  
Thanks for the trace. I've fixed the issue, so it should be available in our next 4.6 foundry drop.