diff mbox

Fix comment in contrib/gen_autofdo_event.py

Message ID 3d000656-a6f0-4c10-6ae0-a4bade9304a6@mentor.com
State New
Headers show

Commit Message

Tom de Vries April 26, 2017, 9:04 a.m. UTC
Hi,

a comment generated by contrib/gen_autofdo_event.py instructs the user 
to use '--shell' with gen_autofdo_event.py, but the script does not 
support it.

This patch fixes the comment by using '--script' instead (this is also 
the usage printed by the script generated by contrib/gen_autofdo_event.py).

Committed as obvious.

Thanks,
- Tom
diff mbox

Patch

Fix comment in contrib/gen_autofdo_event.py

2017-04-26  Tom de Vries  <tom@codesourcery.com>

	* gen_autofdo_event.py: Fix comment.

---
 contrib/gen_autofdo_event.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/gen_autofdo_event.py b/contrib/gen_autofdo_event.py
index 3865cbb..c97460c 100755
--- a/contrib/gen_autofdo_event.py
+++ b/contrib/gen_autofdo_event.py
@@ -104,7 +104,7 @@  if args.script:
     print '''#!/bin/sh
 # Profile workload for gcc profile feedback (autofdo) using Linux perf.
 # Auto generated. To regenerate for new CPUs run
-# contrib/gen_autofdo_event.py --shell --all in gcc source
+# contrib/gen_autofdo_event.py --script --all in gcc source
 
 # usages:
 # gcc-auto-profile program             (profile program and children)