Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [linuxtools-dev] linux tools gprof plugin can't correct run in win7.

Please try with our latest updates-nightly build as I have put in a potential work-around to this problem whereby the view id will change any colon characters to underscores. It might fix the problem totally or might just get you further along. You will need to have an elf binary parser enabled for your C project. You can determine this by looking in your Project Properties->C/C++ Build->Settings->Binary Parsers

-- Jeff J.

On 12/13/2012 04:33 AM, ljc wrote:
My gmon.out is generated in my remote embeddedlinux-box







At 2012-12-13 15:08:09,akurtakov <akurtakov@xxxxxxxxx> wrote:

    Would you please open a bug against grpof at
    https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Linux%20Tools .
    My guess would be that MinGW grpof has slightly different file
    format which the plugin has no idea how to parse. Please attach
    gprof output file to the bug because many of the devs don't have
    windows machines to test it.

    Alexander Kurtakov


    On Thu, Dec 13, 2012 at 4:26 AM, ljc <scanli@xxxxxxx
    <mailto:scanli@xxxxxxx>> wrote:

          Hi all!
        I'm usingJUNO theEclipse IDE for c/c++ in win7,mingw had been
        installed,PATH had been corrected set.,and I can run mingw's
        gprof use MS command line succeeded.but when I run gprof plugin
        in eclipse IDE,I can't see anything changed abut gprof.
        The fellow is log file:
        !ENTRY org.eclipse.linuxtools.gprof 4 4 2012-12-13 09:58:38.960
        !MESSAGE Illegal secondary id (cannot be empty or contain a colon)
        !STACK 0
        java.lang.IllegalArgumentException: Illegal secondary id (cannot
        be empty or contain a colon)
             at
        org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3762)
             at
        org.eclipse.linuxtools.internal.gprof.view.GmonView.displayGprofView(GmonView.java:244)
             at org.eclipse.linuxtools.interna
        l.gprof.view.GmonView.displayGprofView(GmonView.java:227)
             at
        org.eclipse.linuxtools.internal.gprof.action.OpenGmonAction.open(OpenGmonAction.java:57)
             at
        org.eclipse.ui.internal.WorkbenchPage$24.run(WorkbenchPage.java:4619)
             at
        org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
             at
        org.eclipse.ui.internal.WorkbenchPage.openExternalEditor(WorkbenchPage.java:4611)
             at
        org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3071)
             at
        org.eclipse.ui.internal.WorkbenchPage.access$22(WorkbenchPage.java:3003)
             at
        org.eclipse.ui.internal.WorkbenchPage$8.run(WorkbenchPage.java:2985)
             at
        org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
             at
        org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2981)
             at org.ec <http://org.ec>
        lipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2940)
             at
        org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2931)
             at org.eclipse.ui.ide.IDE.openEditor(IDE.java:655)
             at org.eclipse.ui.ide.IDE.openEditor(IDE.java:614)
             at
        org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:99)
             at
        org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:99)
             at
        org.eclipse.ui.actions.RetargetAction.run(RetargetAction.java:221)
             at
        org.eclipse.ui.navigator.CommonNavigatorManager$3.open(CommonNavigatorManager.java:185)
             at
        org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48)
             at
        org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:866)
             at org.eclipse.cor e.runtime.SafeRunner.run(SafeRunner.java:42)
             at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
             at
        org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
             at
        org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:864)
             at
        org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1152)
             at
        org.eclipse.ui.navigator.CommonViewer.handleOpen(CommonViewer.java:462)
             at
        org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1256)
             at
        org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:275)
             at
        org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:269)
             at
        org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:309)
             at org.eclipse.swt.widgets.EventTable.sendEv
        ent(EventTable.java:84)
             at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
             at
        org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
             at
        org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
             at
        org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1029)
             at
        org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
             at
        org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:923)
             at
        org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
             at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
             at
        org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
             at org.eclipse.ui.internal.Work
        bench.createAndRunWorkbench(Workbench.java:543)
             at
        org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
             at
        org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
             at
        org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
             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:353)
             at
        org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
             at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        &nb sp;   at
        sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
             at java.lang.reflect.Method.invoke(Unknown Source)
             at
        org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
             at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
             at org.eclipse.equinox.launcher.Main.run(Main.java:1438)





        _______________________________________________
        linuxtools-dev mailing list
        linuxtools-dev@xxxxxxxxxxx <mailto:linuxtools-dev@xxxxxxxxxxx>
        https://dev.eclipse.org/mailman/listinfo/linuxtools-dev






_______________________________________________
linuxtools-dev mailing list
linuxtools-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/linuxtools-dev




Back to the top