Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356387 - Execute binary multiple times for improved sample counts
Summary: Execute binary multiple times for improved sample counts
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: LinuxTools (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Roland Grunberg CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-31 14:55 EDT by Roland Grunberg 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 Roland Grunberg CLA 2011-08-31 14:55:47 EDT
The current behaviour of Eclipse Oprofile is to load the oprofile module if not loaded, set up opcontrol, and run opcontrol. The binary is run exactly once, followed by collecting any profiling information with opreport.

Since Oprofile is a statistical profiler, multiple runs of a binary would benefit in collecting more samples (especially in the case of binaries that produce few or no samples).

This could be an option in the Oprofile configuration of a project. The only change in behaviour would be that the binary being profiled could be run multiple times, before data is collected.
Comment 1 Andrew Overholt CLA 2011-08-31 15:52:11 EDT
This is a fine idea.
Comment 2 Roland Grunberg CLA 2013-02-06 16:28:44 EST
This has been reviewed here https://git.eclipse.org/r/#/c/10204/ and is in master. Marking this bug as closed (fixed). Thanks to Rafael for doing this.