Bug 198228 - perf/vg_perf doesn't work for VPATH builds
Summary: perf/vg_perf doesn't work for VPATH builds
Status: RESOLVED DUPLICATE of bug 155913
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (show other bugs)
Version: 3.5 SVN
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-29 01:38 UTC by Samuel Bronson
Modified: 2009-06-29 06:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

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