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
Fix comment in contrib/gen_autofdo_event.py
2017-04-26 Tom de Vries <t...@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)