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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D77C5C433F5 for ; Mon, 29 Nov 2021 19:45:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235569AbhK2TtK (ORCPT ); Mon, 29 Nov 2021 14:49:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351964AbhK2Tq6 (ORCPT ); Mon, 29 Nov 2021 14:46:58 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0FB1C042395; Mon, 29 Nov 2021 08:09:03 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 47DEF61597; Mon, 29 Nov 2021 16:09:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 69AA5C53FAD; Mon, 29 Nov 2021 16:09:00 +0000 (UTC) Date: Mon, 29 Nov 2021 11:08:58 -0500 From: Steven Rostedt To: Yafang Shao Cc: Sven Schnelle , David Hildenbrand , Andrew Morton , netdev , bpf , "linux-perf-use." , linux-fsdevel@vger.kernel.org, Linux MM , LKML , kernel test robot , kbuild test robot , Andrii Nakryiko , Mathieu Desnoyers , Arnaldo Carvalho de Melo , Andrii Nakryiko , Michal Miroslaw , Peter Zijlstra , Matthew Wilcox , Al Viro , Kees Cook , Petr Mladek Subject: Re: [PATCH v2 7/7] tools/testing/selftests/bpf: replace open-coded 16 with TASK_COMM_LEN Message-ID: <20211129110858.1484ecd3@gandalf.local.home> In-Reply-To: <20211129110755.616133df@gandalf.local.home> References: <20211120112738.45980-1-laoar.shao@gmail.com> <20211120112738.45980-8-laoar.shao@gmail.com> <54e1b56c-e424-a4b3-4d61-3018aa095f36@redhat.com> <20211129110755.616133df@gandalf.local.home> X-Mailer: Claws Mail 3.17.8 (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 Mon, 29 Nov 2021 11:07:55 -0500 Steven Rostedt wrote: > I wonder if BTF could take advantage of the tracing: > > TRACE_DEFINE_ENUM() macros? Bah' BTF does handle enums, it doesn't handle macros. But I wonder if we could do something similar for BTF. That is, force it. -- Steve