Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 363510

Summary: Cachegrind: manual cache configuration is reseted after run
Product: [Tools] Linux Tools Reporter: Wainer dos Santos Moschetta <wainersm>
Component: ValgrindAssignee: Daniel Henrique Barboza <danielhb>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ebaron, jjohnstn, obusatto, overholt
Version: 0.8.1   
Target Milestone: 0.10.0   
Hardware: All   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Screenshot of cachegrind options tab after first run
none
Patch that fixes this bug none

Description Wainer dos Santos Moschetta CLA 2011-11-10 12:53:09 EST
Build Identifier: 3.7.1

I'm manually setting cache configuration ("Manually Set Cache Specifications" box). However, it doesn't keep the cache size values I defined in between two consecutive runs, i.e., its values are reseted in every new run. 

Reproducible: Always

Steps to Reproduce:
1. Profile as Valgrind
2. Create a valgrind profile configuration. Set "cachegrind" as the tool
3. On "Cachegrind options" set values for i1, D1 and L2 caches size
4. Hit 'Profile'
5. Open the profile configuration again. Result: values inputed in step 3 will be reseted
Comment 1 Wainer dos Santos Moschetta CLA 2011-11-10 12:54:34 EST
Created attachment 206801 [details]
Screenshot of cachegrind options tab after first run
Comment 2 Daniel Henrique Barboza CLA 2012-01-24 08:25:18 EST
Created attachment 209965 [details]
Patch that fixes this bug

I'm sorry I took that long to take a look at this bug.

I'm attaching the patch because I'm not sure I can commit anything .. last status of my committer vote was "The next step is for the project lead to
return to the portal and fill in the VCS package and employer information" and I didn't receive any more emails about it. 

Thanks!
Comment 3 Andrew Overholt CLA 2012-01-24 09:29:04 EST
The current status of your commit rights is "Processing candidate paperwork." meaning the Eclipse Foundation is verifying employment status, etc.  It should be ready very soon and you'll receive an email when you are able to commit.
Comment 4 Daniel Henrique Barboza CLA 2012-03-02 06:55:13 EST
Patch applied in master branch.