[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.linuxtools] Re: OProfile on openSUSE 11.1

Uwe Stieber wrote:
Kent, I don't see anything in the OProfile view too. The consolehelper issue had been "workarounded" (just copied it) and I've run "opcontrol --init" as root myself, the kernel module is loaded. "opxml info" does spit out some XML, but still it does not show anything in the view. Refresh view does not help. Any further hints [where to put a breakpoint]?

Thanks,

Hmm, are there any exceptions logged to the console? Unless the plugin can't find a contributing opxml fragment, or that plugin can't find the opxml binary (both cases should pop up an errorDialog) I can't see why it wouldn't parse the xml properly.


If you're willing to debug it, org.eclipse.linuxtools.oprofile.ui.view->OprofileView.java:99-120 would be a good area. Uncomment the sys.out.println at line 105 and if the results are being parsed correctly, it'll print out the parsed data. After that, follow if UiRoot is parsed correctly (line 109), perhaps delving into the UiModelRoot class.

If that doesn't yield any insight, perhaps break at the start of org.eclipse.linuxtools.oprofile.core->Oprofile.java:getModelData() and follow the chain of parsing.

Let me know how it goes, thanks :)


-Kent