TASK_COMM_LEN_16 is introduced to replace all the hard-coded 16 used in the files under tools/ directory. Signed-off-by: Yafang Shao <laoar.shao@xxxxxxxxx> Cc: Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxxxx> Cc: Arnaldo Carvalho de Melo <arnaldo.melo@xxxxxxxxx> Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx> Cc: Steven Rostedt <rostedt@xxxxxxxxxxx> Cc: Kees Cook <keescook@xxxxxxxxxxxx> Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx> Cc: Petr Mladek <pmladek@xxxxxxxx> --- tools/include/linux/sched/task.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/include/linux/sched/task.h b/tools/include/linux/sched/task.h index a97890eca110..7657dd3e0e02 100644 --- a/tools/include/linux/sched/task.h +++ b/tools/include/linux/sched/task.h @@ -1,4 +1,6 @@ #ifndef _TOOLS_PERF_LINUX_SCHED_TASK_H #define _TOOLS_PERF_LINUX_SCHED_TASK_H +#define TASK_COMM_LEN_16 16 + #endif /* _TOOLS_PERF_LINUX_SCHED_TASK_H */ -- 2.17.1