Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Linux Tools Project » linux-tools oprofile x64
linux-tools oprofile x64 [message #480914] Tue, 18 August 2009 22:12 Go to next message
Robert is currently offline RobertFriend
Messages: 45
Registered: July 2009
Member
I am unable to get oprofile to run, I think I have followed all the
instructions.

Eclipse IDE for C/C++ Developers Build id: 20090611-1022

>uname -a
Linux ws2208 2.6.28-15-generic #48-Ubuntu SMP Wed Jul 29 08:53:35 UTC 2009
x86_64 GNU/Linux

>opcontrol --version
opcontrol: oprofile 0.9.3 compiled on Feb 25 2009 10:54:56

>cd
/usr/local/lib/eclipse_3.5.rc4/eclipse/plugins/org.eclipse.l inuxtools.oprofile.core.linux.x86_64_0.3.0.200908180856/os/l inux/x86_64
>./opxml info // dosn't work it is not executable.
>chmod +x opxml
>./opxml info // still dosn't work so rebuild.

> cd
usr/local/lib/eclipse_3.5.rc4/eclipse/plugins/org.eclipse.li nuxtools.oprofile.core_0.3.0.200908180856/natives/linux/opxm l
> make // ok
> make install // this fails because the version number in move_opxml.sh os
0.2.0
> change this to RELEASE_VER=0.3.0
> make install // works

>cd
/usr/local/lib/eclipse_3.5.rc4/eclipse/plugins/org.eclipse.l inuxtools.oprofile.core.linux.x86_64_0.3.0.200908180856/os/l inux/x86_64
>./opxml info // now works, print lots and lots of xml.

I run the install script.
> usr/local/lib/eclipse_3.5.rc4/eclipse/plugins/org.eclipse.li nuxtools.oprofile.core_0.3.0.200908180856/natives/linux/scri pts$
su -c 'sh ./install.sh'
Password:
Eclipse-OProfile plugin install successful.

Restart eclipse with -clean

Create a new profile configuration:
Error :

Unhandled event loop exception
java.lang.NoClassDefFoundError: Could not initialize class
org.eclipse.linuxtools.oprofile.core.Oprofile
at
org.eclipse.linuxtools.oprofile.launch.configuration.Oprofil eCounter.getCounters(OprofileCounter.java:64)
at
org.eclipse.linuxtools.oprofile.launch.configuration.Oprofil eEventConfigTab. <init>(OprofileEventConfigTab.java:68)
at
org.eclipse.linuxtools.oprofile.launch.configuration.Oprofil eLaunchConfigurationTabGroup.getProfileTabs(OprofileLaunchCo nfigurationTabGroup.java:19)
at
org.eclipse.linuxtools.profiling.launch.ProfileLaunchConfigu rationTabGroup.createTabs(ProfileLaunchConfigurationTabGroup .java:32)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupWrapper.createTabs(LaunchConfigurationTabG roupWrapper.java:137)
at
org.eclipse.debug.internal.ui.launchConfigurations.CreateLau nchConfigurationAction.performAction(CreateLaunchConfigurati onAction.java:72)
at
org.eclipse.debug.internal.ui.launchConfigurations.AbstractL aunchConfigurationAction$1.run(AbstractLaunchConfigurationAc tion.java:103)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
at
org.eclipse.debug.internal.ui.launchConfigurations.AbstractL aunchConfigurationAction.run(AbstractLaunchConfigurationActi on.java:106)
at
org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEv ent(BaseSelectionListenerAction.java:168)
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:584)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:501)
at
org.eclipse.jface.action.ActionContributionItem$6.handleEven t(ActionContributionItem.java:452)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3493)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3112)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825 )
at org.eclipse.jface.window.Window.open(Window.java:801)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialog.open(LaunchConfigurationsDialog.java:1064)
at org.eclipse.debug.ui.DebugUITools$1.run(DebugUITools.java:39 8)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
at
org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDia logOnGroup(DebugUITools.java:406)
at
org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDia logOnGroup(DebugUITools.java:340)
at
org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(Open LaunchDialogAction.java:81)
at
org.eclipse.debug.ui.actions.OpenLaunchDialogAction.runWithE vent(OpenLaunchDialogAction.java:89)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:241)
at
org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:229)
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:584)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:501)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3493)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3112)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
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(EclipseS tarter.java:368)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
Re: linux-tools oprofile x64 [message #494405 is a reply to message #480914] Fri, 30 October 2009 14:34 Go to previous message
Andrew Overholt is currently offline Andrew OverholtFriend
Messages: 55
Registered: July 2009
Member
Hi,

Can you please file a bug for this?

https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Linux%20 Tools&component=OProfile

Thanks,

Andrew
Re: linux-tools oprofile x64 [message #567380 is a reply to message #480914] Fri, 30 October 2009 14:34 Go to previous message
Andrew Overholt is currently offline Andrew OverholtFriend
Messages: 55
Registered: July 2009
Member
Hi,

Can you please file a bug for this?

https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Linux%20 Tools&component=OProfile

Thanks,

Andrew
Previous Topic:Can't install Linux Tools
Next Topic:autotools in Galileo?
Goto Forum:
  


Current Time: Tue Apr 23 13:35:08 GMT 2024

Powered by FUDForum. Page generated in 0.03562 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top