]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf trace beauty: Always show param if show_zero is set
authorChangbin Du <changbin.du@huawei.com>
Wed, 22 May 2024 03:35:41 +0000 (11:35 +0800)
committerNamhyung Kim <namhyung@kernel.org>
Thu, 30 May 2024 05:48:05 +0000 (22:48 -0700)
commit92968dcc037fed045dab5c8e52b51255d77f5432
tree54f8c07c3c31f3defbe5f8386675caf629a6c6ba
parenta93c83eca48a4ffb8e57cb0c7cc2e3935744d2c6
perf trace beauty: Always show param if show_zero is set

For some parameters, it is best to also display them when they are 0,
e.g. flags.

Here we only check the show_zero property and let arg printer handle
special cases.

Signed-off-by: Changbin Du <changbin.du@huawei.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20240522033542.1359421-2-changbin.du@huawei.com
tools/perf/builtin-trace.c