Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp225283pxb; Wed, 20 Oct 2021 20:47:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwF7iGrlItLW0ZKV45RRJ8Pn0gcb2F+wcJrlCWAM9hhKWjJsKnVgdQExfoV6CXesuyCx/Q X-Received: by 2002:a17:90b:4c88:: with SMTP id my8mr3457835pjb.49.1634788064299; Wed, 20 Oct 2021 20:47:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634788064; cv=none; d=google.com; s=arc-20160816; b=zUiK/WQwRPnXW6WZ645u0gU//4qs4GbC8USfbqV4IPiSrmKssNSMA0xraopmoqtO3y ynqdNdO5dofezQipelFZB9QYwOUlB5vshdv0itkPflYWE/fM5bv+74ii1DyM1roFgCtJ 3SLD3hM88CGwXJI3dyq32qfl796TibDzHd0tssX/bm+YVTwuS+yIUsZ7w/1dQ8jRH0s2 r6dRG96cpWedKFwXBIM6uHYl18xAaApWFzYCSuHpUK/sN6r/JhxUZJwYvJ/YcFhIou7U 6/SgbWdplBtTiVCxCjRTEHHCnCCGFnDyi3NA66Fm4o8bik0f47nBV1hMKcq8rM4wZN+E uvog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=FO6px52zOvL06YEAEvGgHt7D/uuPPxpA7vLGdvmdYfM=; b=NXyFYQAIy9iDSz+Xzgt/7rcdOUbh52e7s33dKzMqsAykAMZ1stVr7r69aRarn0jUjY vQn5HUBtwMPRZVZDnvtt8/Qw2xjZHCr23ftlF/EKNhDxUOlOaNzAwXIa1gA6Ek7BU1bH yVMBEVAdHJZJHo0tGSe0iKyekfOmycsANOeEH7roVscsiYO45LGoSAfAbAm98Pm+ibuE zDEkrBEd+jvtKHd3KK7CPrCtvilPkt9HeJOxC9Gt5Q+fxM7y4uEWOEyFqg8WIPmu4Ot+ E3VX7Ajjc1D1UoQIjJdTKEP6ze4+e99+Y3KNTxqBUexHJlVrAejLEcCqv5eqZF4MmIF2 HMBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WNmzmbXr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gp5si2522311pjb.139.2021.10.20.20.47.31; Wed, 20 Oct 2021 20:47:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WNmzmbXr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231753AbhJUDsO (ORCPT + 99 others); Wed, 20 Oct 2021 23:48:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231380AbhJUDrw (ORCPT ); Wed, 20 Oct 2021 23:47:52 -0400 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 625CEC061749; Wed, 20 Oct 2021 20:45:37 -0700 (PDT) Received: by mail-pl1-x630.google.com with SMTP id b14so7771232plg.2; Wed, 20 Oct 2021 20:45:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FO6px52zOvL06YEAEvGgHt7D/uuPPxpA7vLGdvmdYfM=; b=WNmzmbXrhFH2nno5IvKecSwjtBp9Sq1uuau/dT4MJbXtKGLvAztn1BspiqME7ie9jT ElhAup4UIC5cL6+b1eX/i/G0lqnjyW2GJyKBbXutPomMQgnucVAuegoq+aer3e0kmeIK G+IYbOusYEVuk9y4PutAERzxqKLouzRE0BDA3FPNkhdC1Q3PcxupW92oFnz1dWdOnlIS 4Tcz8zW4c+HN+W9ZApz2p6CICrqQQ3HZ+HBtQP7s4MIytQ3quGSqGkIQGRYgU0LYV3oH gCDGkw+O3TQMThouBhgLOFPqjoPP1OYoKuTmp9qCInxJi5/wsDyISnA/gqXY0tP5wtLV t76g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=FO6px52zOvL06YEAEvGgHt7D/uuPPxpA7vLGdvmdYfM=; b=b+soD0oR6OHqrpohBeSpRTIqBD82r9nwxQP+Cp2Jkdp2nQlmvAS26nBv+m1DbD+8g6 0Z0I7RHIsnr4n44A6sx60ODbbMg/i3UtLu7W8NMVlluVCsTq6QDHiJULJSOz1QbHGUo4 Q7cbU1iDhGKg0gK9umEuBweL9nJAahQ0Z7hJ1bvCHg1oXQVl2T2UQnUH32hSDIE95DmV 6Oi9v3eZmv+rG/SeAs520GWVSkaMSl/2QxzSC5q7CWZH+1OtrW1+AxAPWPY75vBbBdmH ngUm8fdKbkSABSFurh2ZpCey+nzRcbN+BCDYXIySnqzLdcOpGdq71DuLFHZHtPfEIIRq zqMw== X-Gm-Message-State: AOAM53274LGYIjqXJgszPWLfM+KCANXcIH6BwH0u1+7fNJzgxn56wJlL YI5z/ikhtzbfjFOGIn19Zik= X-Received: by 2002:a17:90b:3a81:: with SMTP id om1mr3695306pjb.184.1634787936822; Wed, 20 Oct 2021 20:45:36 -0700 (PDT) Received: from localhost.localdomain ([140.82.17.67]) by smtp.gmail.com with ESMTPSA id bp19sm3651077pjb.46.2021.10.20.20.45.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Oct 2021 20:45:36 -0700 (PDT) From: Yafang Shao To: keescook@chromium.org, rostedt@goodmis.org, mathieu.desnoyers@efficios.com, arnaldo.melo@gmail.com, pmladek@suse.com, peterz@infradead.org, viro@zeniv.linux.org.uk, akpm@linux-foundation.org, valentin.schneider@arm.com, qiang.zhang@windriver.com, robdclark@chromium.org, christian@brauner.io, dietmar.eggemann@arm.com, mingo@redhat.com, juri.lelli@redhat.com, vincent.guittot@linaro.org, davem@davemloft.net, kuba@kernel.org, ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, kafai@fb.com, songliubraving@fb.com, yhs@fb.com, john.fastabend@gmail.com, kpsingh@kernel.org Cc: netdev@vger.kernel.org, bpf@vger.kernel.org, linux-perf-users@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, oliver.sang@intel.com, lkp@intel.com, Yafang Shao Subject: [PATCH v5 09/15] tools/include: introduce TASK_COMM_LEN_16 Date: Thu, 21 Oct 2021 03:45:16 +0000 Message-Id: <20211021034516.4400-10-laoar.shao@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20211021034516.4400-1-laoar.shao@gmail.com> References: <20211021034516.4400-1-laoar.shao@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Cc: Mathieu Desnoyers Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Steven Rostedt Cc: Kees Cook Cc: Al Viro Cc: Petr Mladek --- 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