Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321240 - opcontrol --image=.. set invalid if external binary is chosen (using absolute path)
Summary: opcontrol --image=.. set invalid if external binary is chosen (using absolute...
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: LinuxTools (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: OProfile Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-29 11:35 EDT by Severin Gehwolf CLA
Modified: 2022-01-13 14:51 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Severin Gehwolf CLA 2010-07-29 11:35:06 EDT
The use case is a bit weird, but if I do the following:

1. Create an empty C++ project
2. Run => Profile Configurations
3. Create a new Oprofile run config
4. Set path where it says "C++ Application" ("Main" tab) to something like /path/to/some/external/binary/which/actually/exists
5. This gets according to .oprofile/daemonrc translated to /path/to/workspace/projectname//path/to/some/external/binary/which/actually/exists

Expected result:
Do not use project relative path in that case

Observed behaviour:
Uses path relative to project (although path starts with "/")

IMO this doesn't seem to be what one expects.

Thoughts?
Comment 1 Roland Grunberg CLA 2010-08-06 11:31:13 EDT
I found this from not long ago : BZ # 296228 . This should be fixed in 0.5.1 (and i can confirm it works at the very least, in trunk)
Comment 2 Roland Grunberg CLA 2011-08-19 12:48:03 EDT
Tested out this functionality with eclipse oprofile from the 0.8.0 update site and was able to profile a binary outside the workspace.
Comment 3 Andrew Overholt CLA 2011-08-19 16:04:15 EDT
Roland, please set the Target Milestone to something reasonable for when this was fixed.  If you can't figure it out, just leave it as --- :)  Thanks.