diff mbox

[4/6] Always print gcc-auto-profile line in dump file

Message ID 20160627015024.23444-5-andi@firstfloor.org
State New
Headers show

Commit Message

Andi Kleen June 27, 2016, 1:50 a.m. UTC
From: Andi Kleen <ak@linux.intel.com>

not just when verbose. This ensures all command lines needed to
reproduce the test case are always logged

gcc/testsuite/:

* 2016-06-26  Andi Kleen  <ak@linux.intel.com>

	* lib/profopt.exp (profopt-execute): Always log profiler
	command line.
---
 gcc/testsuite/lib/profopt.exp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jeff Law July 13, 2016, 9:32 p.m. UTC | #1
On 06/26/2016 07:50 PM, Andi Kleen wrote:
> From: Andi Kleen <ak@linux.intel.com>
>
> not just when verbose. This ensures all command lines needed to
> reproduce the test case are always logged
>
> gcc/testsuite/:
>
> * 2016-06-26  Andi Kleen  <ak@linux.intel.com>
>
> 	* lib/profopt.exp (profopt-execute): Always log profiler
> 	command line.
OK.
jeff
diff mbox

Patch

diff --git a/gcc/testsuite/lib/profopt.exp b/gcc/testsuite/lib/profopt.exp
index 3cce2ee..6966d04 100644
--- a/gcc/testsuite/lib/profopt.exp
+++ b/gcc/testsuite/lib/profopt.exp
@@ -417,7 +417,7 @@  proc profopt-execute { src } {
 	    }
 	    set orig_ld_library_path "[getenv LD_LIBRARY_PATH]"
 	    setenv LD_LIBRARY_PATH "$ld_library_path:$orig_ld_library_path"
-	    verbose "Running $profile_wrapper $execname1"
+	    verbose -log "Running $profile_wrapper $execname1"
 	    set id [remote_spawn "" "$profile_wrapper $execname1" "readonly"]
 	    setenv LD_LIBRARY_PATH $orig_ld_library_path
 	    if { $id < 0 } {