Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363510 - Cachegrind: manual cache configuration is reseted after run
Summary: Cachegrind: manual cache configuration is reseted after run
Status: RESOLVED FIXED
Alias: None
Product: Linux Tools
Classification: Tools
Component: Valgrind (show other bugs)
Version: 0.8.1   Edit
Hardware: All Linux
: P3 normal (vote)
Target Milestone: 0.10.0   Edit
Assignee: Daniel Henrique Barboza CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-10 12:53 EST by Wainer dos Santos Moschetta CLA
Modified: 2012-09-28 13:56 EDT (History)
4 users (show)

See Also:


Attachments
Screenshot of cachegrind options tab after first run (266.39 KB, image/png)
2011-11-10 12:54 EST, Wainer dos Santos Moschetta CLA
no flags Details
Patch that fixes this bug (2.47 KB, application/octet-stream)
2012-01-24 08:25 EST, Daniel Henrique Barboza CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.