]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf pmu: Simplify an asprintf error message
authorIan Rogers <irogers@google.com>
Wed, 2 Oct 2024 03:20:04 +0000 (20:20 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Fri, 11 Oct 2024 06:40:32 +0000 (23:40 -0700)
commitc051220d38463cfe8a248d204461beb3ed52b4ea
treeabaf969e1c4b8fcf5c59504c574f9d9ada35e625
parentc7c1bb78f3eec716bc35f58d74592331cc3281b2
perf pmu: Simplify an asprintf error message

Use ifs rather than ?: to avoid a large compound statement.

Signed-off-by: Ian Rogers <irogers@google.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20241002032016.333748-2-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/pmu.c