diff options
| author | Breno Leitao <[email protected]> | 2024-05-17 14:14:26 +0000 |
|---|---|---|
| committer | Namhyung Kim <[email protected]> | 2024-05-28 18:29:49 +0000 |
| commit | 265b71153e1ac270546f1d0d2a59a565947f2ed3 (patch) | |
| tree | d0165f7f8a6efb344265802f80328982eb5a6fc4 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | perf arm-spe: Unaligned pointer work around (diff) | |
| download | kernel-265b71153e1ac270546f1d0d2a59a565947f2ed3.tar.gz kernel-265b71153e1ac270546f1d0d2a59a565947f2ed3.zip | |
perf list: Fix the --no-desc option
Currently, the --no-desc option in perf list isn't functioning as
intended.
This issue arises from the overwriting of struct option->desc with the
opposite value of struct option->long_desc. Consequently, whatever
parse_options() returns at struct option->desc gets overridden later,
rendering the --desc or --no-desc arguments ineffective.
To resolve this, set ->desc as true by default and allow parse_options()
to adjust it accordingly. This adjustment will fix the --no-desc
option while preserving the functionality of the other parameters.
Signed-off-by: Breno Leitao <[email protected]>
Reviewed-by: Ian Rogers <[email protected]>
Cc: [email protected]
Signed-off-by: Namhyung Kim <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions
