]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf header: Use a max number of command line args
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 8 Apr 2026 17:32:00 +0000 (14:32 -0300)
committerNamhyung Kim <namhyung@kernel.org>
Thu, 9 Apr 2026 02:21:05 +0000 (19:21 -0700)
commitfc32ae6df83d78145391bfdaf0e213babad8e93f
tree64232a9bc48a14a5f6642c79d9fa4516b27bafe5
parentc89f35def821874d993bb1c033a7c3cbd32bccdb
perf header: Use a max number of command line args

Sashiko suggests we use some reasonable max number of args to avoid
overflows when reading perf.data files, do it.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/header.c