From 48804c123638fb638dbb279cb6eaaf94428d3b8e Mon Sep 17 00:00:00 2001 From: Christopher Haster Date: Mon, 4 Nov 2024 01:34:03 -0600 Subject: [PATCH] scripts: Renamed -P/--propagate -> -g/--propagate To better match -z/--depth and -t/--hot. The fact that these short forms all don't match the first letter of the long forms is humorous but unintentional. There's only so many letters in the alphabet! --- scripts/perf.py | 2 +- scripts/perfbd.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/perf.py b/scripts/perf.py index a23272d4..7edd81c5 100755 --- a/scripts/perf.py +++ b/scripts/perf.py @@ -1345,7 +1345,7 @@ if __name__ == "__main__": action='store_true', help="Show cache accesses and cache misses.") parser.add_argument( - '-P', '--propagate', + '-g', '--propagate', type=lambda x: int(x, 0), help="Depth to propagate samples up the call-stack. 0 propagates up " "to the entry point, 1 does no propagation. Defaults to 0.") diff --git a/scripts/perfbd.py b/scripts/perfbd.py index e6a87fea..0b9fc82c 100755 --- a/scripts/perfbd.py +++ b/scripts/perfbd.py @@ -1306,7 +1306,7 @@ if __name__ == "__main__": action='store_true', help="Include builtin and libc specific symbols.") parser.add_argument( - '-P', '--propagate', + '-g', '--propagate', type=lambda x: int(x, 0), help="Depth to propagate samples up the call-stack. 0 propagates up " "to the entry point, 1 does no propagation. Defaults to 0.")