]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf color: Add printf format checking and resolve issues
authorIan Rogers <irogers@google.com>
Thu, 17 Oct 2024 17:53:50 +0000 (10:53 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Thu, 17 Oct 2024 19:44:26 +0000 (12:44 -0700)
commit58fc358a3e2d484697afbae86496fc5982f222f3
treed91104bab5ea4784684704fa6531a05312287347
parent4585038b8e186252141ef86e9f0d8e97f11dce8d
perf color: Add printf format checking and resolve issues

Add printf format checking to vararg printf routines in
color.h. Resolve build errors/bugs that are found through this
checking.

Signed-off-by: Ian Rogers <irogers@google.com>
Cc: Yicong Yang <yangyicong@hisilicon.com>
Cc: Weilin Wang <weilin.wang@intel.com>
Cc: Will Deacon <will@kernel.org>
Cc: James Clark <james.clark@linaro.org>
Cc: Mike Leach <mike.leach@linaro.org>
Cc: Leo Yan <leo.yan@linux.dev>
Cc: Sumanth Korikkar <sumanthk@linux.ibm.com>
Cc: Thomas Richter <tmricht@linux.ibm.com>
Cc: Tim Chen <tim.c.chen@linux.intel.com>
Cc: John Garry <john.g.garry@oracle.com>
Link: https://lore.kernel.org/r/20241017175356.783793-2-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/builtin-sched.c
tools/perf/builtin-trace.c
tools/perf/util/arm-spe.c
tools/perf/util/color.h
tools/perf/util/intel-bts.c
tools/perf/util/intel-pt.c
tools/perf/util/s390-cpumsf.c
tools/perf/util/s390-sample-raw.c