perf scripts python: Add support for input args in gecko script
authorAnup Sharma <anupnewsmail@gmail.com>
Sat, 12 Aug 2023 21:36:27 +0000 (03:06 +0530)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 24 Aug 2023 17:39:43 +0000 (14:39 -0300)
commit43803cb16f997794a256483f29beb68abef2fa9e
treef219cea14cc27821ef02ce16859077d2a7aaa98f
parentf85d120c46e7e31e0516b15a9a11f6721150eb3b
perf scripts python: Add support for input args in gecko script

Refines the argument handling mechanism in the "gecko-report" script to
enable better compatibility and improved user experience.

The script now differentiates between scenarios where arguments are
provided for record and report cases where gecko.py arguments are
passed.

Signed-off-by: Anup Sharma <anupnewsmail@gmail.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/ZNf7W+EIrrCSHZN0@yoga
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/scripts/python/bin/gecko-report [changed mode: 0644->0755]