| author | Daniel Henrique Barboza | 2011-12-14 12:44:40 (EST) |
|---|---|---|
| committer | Otavio Pontes | 2011-12-15 12:40:30 (EST) |
| commit | b392cc0ff192033391f2edfc90c729ae2132668b (patch) (side-by-side diff) | |
| tree | 65920d01f0a1a24c3f148b9dfcf957f114488684 | |
| parent | 1ad5b184dad25305b7f98943810ebc98bf31ba19 (diff) | |
| download | org.eclipse.linuxtools-b392cc0ff192033391f2edfc90c729ae2132668b.zip org.eclipse.linuxtools-b392cc0ff192033391f2edfc90c729ae2132668b.tar.gz org.eclipse.linuxtools-b392cc0ff192033391f2edfc90c729ae2132668b.tar.bz2 | |
Removing the -U flag of the Perf plug-in launch.
Some systems/distros do not implement it. I'm removing this flag
until we're secure that all of them, or at least the major ones,
support it.
| -rw-r--r-- | perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/perf/PerfCore.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/perf/PerfCore.java b/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/perf/PerfCore.java index e8c21a1..4dafea3 100644 --- a/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/perf/PerfCore.java +++ b/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/perf/PerfCore.java @@ -178,8 +178,19 @@ public class PerfCore { } if (config.getAttribute(PerfPlugin.ATTR_ModuleSymbols, PerfPlugin.ATTR_ModuleSymbols_default)) base.add("-m"); + + /* + * danielhb, 12/14/2011 - some systems, like ubuntu and sles, does not have + * the -U option. The binary fails to execute in those systems when this + * option is enabled. + * I'm disabling it to make the plug-in runnable for them. This + * will probably need to be revisited in the future, probably when this + * flag is implemented by the Perf binary of those systems. + */ + /* if (config.getAttribute(PerfPlugin.ATTR_HideUnresolvedSymbols, PerfPlugin.ATTR_HideUnresolvedSymbols_default)) base.add("-U"); + */ if (perfDataLoc != null) { base.add("-i"); base.add(perfDataLoc); |

