summaryrefslogtreecommitdiffstats
path: root/tools/perf/arch/common.c
diff options
context:
space:
mode:
authorSihyeon Jang2018-12-01 16:46:03 +0100
committerArnaldo Carvalho de Melo2018-12-17 18:59:40 +0100
commit75c375c0ae7cc75cec6683ee2539937c60c3e4af (patch)
treeb8f531a3d9cec5c2a89629e0c964691703ccda5d /tools/perf/arch/common.c
parentperf record: Fix memory leak on AIO objects deallocation (diff)
downloadkernel-qcow2-linux-75c375c0ae7cc75cec6683ee2539937c60c3e4af.tar.gz
kernel-qcow2-linux-75c375c0ae7cc75cec6683ee2539937c60c3e4af.tar.xz
kernel-qcow2-linux-75c375c0ae7cc75cec6683ee2539937c60c3e4af.zip
perf config: Modify size factor of snprintf
According to definition of snprintf, it gets size factor including null('\0') byte. So '-1' is not neccessary. Also it will be helpful unfied style with other cases. (eg. builtin-script.c) Signed-off-by: Sihyeon Jang <uneedsihyeon@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: http://lkml.kernel.org/r/20181201154603.10093-1-uneedsihyeon@gmail.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/arch/common.c')
0 files changed, 0 insertions, 0 deletions