From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E4939C433F5 for ; Fri, 15 Oct 2021 02:14:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B36DD610D1 for ; Fri, 15 Oct 2021 02:14:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234894AbhJOCQV (ORCPT ); Thu, 14 Oct 2021 22:16:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:50726 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230507AbhJOCQU (ORCPT ); Thu, 14 Oct 2021 22:16:20 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id BC20C60FDA; Fri, 15 Oct 2021 02:14:11 +0000 (UTC) Date: Thu, 14 Oct 2021 22:14:09 -0400 From: Steven Rostedt To: Yafang Shao Cc: Kees Cook , Mathieu Desnoyers , acme , kernel test robot , 0day robot , Petr Mladek , Peter Zijlstra , Alexander Viro , linux-kernel , lkp , Andrew Morton , Valentin Schneider , Qiang Zhang , robdclark , christian , Dietmar Eggemann , Ingo Molnar , Juri Lelli , Vincent Guittot , Ben Segall , Mel Gorman , bristot , aubrey li , yu c chen Subject: Re: [sched.h] 317419b91e: perf-sanity-tests.Parse_sched_tracepoints_fields.fail Message-ID: <20211014221409.5da58a42@oasis.local.home> In-Reply-To: References: <20211010102429.99577-4-laoar.shao@gmail.com> <20211014072707.GA18719@xsang-OptiPlex-9020> <1529739526.13983.1634215325995.JavaMail.zimbra@efficios.com> <173454728.14036.1634216949862.JavaMail.zimbra@efficios.com> <1171592945.14099.1634219447199.JavaMail.zimbra@efficios.com> <202110140910.295E856@keescook> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 15 Oct 2021 10:05:56 +0800 Yafang Shao wrote: > > I'd say we need a TASK_COMM_LEN_V1 to use in all the old hard-coded > > places. > > > > Sure, it will be easy to grep then. Just because I'm picky about my bikeshed colors... Perhaps have it called TASK_COMM_LEN_16 ? The reason being, I have no idea what "V1" is. Version 1? What's that mean? And now TASK_COMM_LEN can be either 16 or 24. Perhaps we can have it be: #define TASK_COMM_LEN_16 16 #define TASK_COMM_LEN_24 24 if CONFIG_BASE_SMALL #define TASK_COMM_LEN TASK_COMM_LEN_16 #else #define TASK_COMM_LEN TASK_COMM_LEN_24 #endif or call it TASK_COMM_LEN_SMALL and TASK_COMM_LEN_LARGE ?? It's still "grepable" -- Steve