Linux Perf Users
 help / color / mirror / Atom feed
* [PATCH v1 0/6] perf sched stats: Fixes and improvements
@ 2026-01-27 18:49 Swapnil Sapkal
  2026-01-27 18:49 ` [PATCH v1 1/6] perf header: Replace hardcoded max cpus by MAX_NR_CPUS Swapnil Sapkal
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: Swapnil Sapkal @ 2026-01-27 18:49 UTC (permalink / raw)
  To: peterz, mingo, acme, namhyung, irogers, james.clark
  Cc: mark.rutland, alexander.shishkin, jolsa, adrian.hunter,
	thomas.falcon, ashelat, yu.c.chen, sshegde, gautham.shenoy,
	ravi.bangoria, swapnil.sapkal, linux-kernel, linux-perf-users

These patches contain fixes and improvements related to perf sched stats
code. The series includes:

* Bug fixes
  - Add NULL check for cd_map in perf sched stats to prevent potential
    NULL pointer dereference
  - Fix NULL check in cpumask_to_cpulist() in perf util

* Code quality improvements:
  - Replace hardcoded max cpus value with MAX_NR_CPUS constant in perf
    header
  - Define SEP_LEN macro to replace magic number in perf sched stats
  - Correct spelling of function name in perf sched stats

* Documentation:
  - Fix various issues in the perf sched stats man page

Swapnil Sapkal (6):
  perf header: Replace hardcoded max cpus by MAX_NR_CPUS
  perf util: Fix NULL check in cpumask_to_cpulist()
  perf sched stats: Add NULL check for cd_map
  perf sched stats: correct spelling of function name
  perf sched stats: Define macro for SEP_LEN
  perf sched stats: Fixes in man page

 tools/perf/Documentation/perf-sched.txt |  8 +++----
 tools/perf/builtin-sched.c              | 30 +++++++++++++++----------
 tools/perf/util/header.c                |  5 +++--
 tools/perf/util/util.c                  |  2 +-
 4 files changed, 26 insertions(+), 19 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2026-01-28 18:29 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-27 18:49 [PATCH v1 0/6] perf sched stats: Fixes and improvements Swapnil Sapkal
2026-01-27 18:49 ` [PATCH v1 1/6] perf header: Replace hardcoded max cpus by MAX_NR_CPUS Swapnil Sapkal
2026-01-28  7:39   ` Shrikanth Hegde
2026-01-28 16:25     ` Swapnil Sapkal
2026-01-28 18:13       ` Arnaldo Carvalho de Melo
2026-01-28 18:15       ` Arnaldo Carvalho de Melo
2026-01-28 18:29         ` Swapnil Sapkal
2026-01-27 18:49 ` [PATCH v1 2/6] perf util: Fix NULL check in cpumask_to_cpulist() Swapnil Sapkal
2026-01-27 18:49 ` [PATCH v1 3/6] perf sched stats: Add NULL check for cd_map Swapnil Sapkal
2026-01-27 18:49 ` [PATCH v1 4/6] perf sched stats: correct spelling of function name Swapnil Sapkal
2026-01-27 18:49 ` [PATCH v1 5/6] perf sched stats: Define macro for SEP_LEN Swapnil Sapkal
2026-01-27 18:50 ` [PATCH v1 6/6] perf sched stats: Fixes in man page Swapnil Sapkal
2026-01-28  8:03 ` [PATCH v1 0/6] perf sched stats: Fixes and improvements Shrikanth Hegde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox