Bug 198228

Summary: perf/vg_perf doesn't work for VPATH builds
Product: [Developer tools] valgrind Reporter: Samuel Bronson <naesten>
Component: generalAssignee: Julian Seward <jseward>
Status: RESOLVED DUPLICATE    
Severity: normal CC: njn
Priority: NOR    
Version: 3.5 SVN   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Samuel Bronson 2009-06-29 01:38:35 UTC
Even after fixing #198027, the perf/vg_perf tool does not work for VPATH builds:

naesten@hydrogen:~/hacking/valgrind/inner% perl perf/vg_perf perf/

== 0 programs, 0 timings =================

naesten@hydrogen:~/hacking/valgrind/inner% perl perf/vg_perf ../perf/   
-- Running  tests in ../perf -------------------------------------------
vg_perf: './bigcode' not found or not a file (.)
naesten@hydrogen:~/hacking/valgrind/inner% 

The problem appears to be that vg_perf expects the passed directory to contain both the compiled test programs *and* the .vgperf files, but the test programs only show up in the build tree and the .vgperf files are only found in the source tree.
Comment 1 Nicholas Nethercote 2009-06-29 06:30:26 UTC

*** This bug has been marked as a duplicate of bug 155913 ***