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 X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 97BF9C43219 for ; Sat, 4 May 2019 00:59:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6171F206E0 for ; Sat, 4 May 2019 00:59:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=joelfernandes.org header.i=@joelfernandes.org header.b="YvyFgbpu" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726402AbfEDA7X (ORCPT ); Fri, 3 May 2019 20:59:23 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:42847 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726149AbfEDA7X (ORCPT ); Fri, 3 May 2019 20:59:23 -0400 Received: by mail-pg1-f196.google.com with SMTP id p6so3514939pgh.9 for ; Fri, 03 May 2019 17:59:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Yvz1h3uWXxpTkOnnU/TKaBDR2WAc1nuALwyWB7QLiTo=; b=YvyFgbpuBemeeHnrSn+PdX7AyZ4vOEFKZO+dOgh3izhAOTRnS/K74laZpqfhSO+LpS Jx2poX6BhBhW9SFpGW5jyP2vj1YNk9NOUD3ecYlTttLd7e32AtIIcx+W9+yl3DNVESyB wXKGnUBGYX5aiU9l09tLqw3DXTe5q1/D+TbFg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Yvz1h3uWXxpTkOnnU/TKaBDR2WAc1nuALwyWB7QLiTo=; b=AWMyummlrplX8OR2sR+J/BwUX2bANRbcVHyJpP4yIY417qMlHX9AAF5G5opAaXchxS XYNpnjwHF0lTgP06EKjWeV2jEbo51hElTjJoeDgxNVLR+1eGZZ5GDjmBeqn04dn4A1Xb /cBiJHZTj7ZMZSErIaq58KWty0bjjdLvtyij9zrTU4tAbCghgdL0EePRD0wjN/kluZIp Gt2kyD/4FEFbPaOrOjrtcbAQ+F8wqlQVSu/sGRyoP3jE99S0XP6mAGswBmZ+BSTouvWi 8eScRqf56qIP4IDpgQe+AcLG7rjchTQ6p+qTlV0gL/jfDo/6rGTw13iep89iLnc58kBN d59w== X-Gm-Message-State: APjAAAV4/ed1dNtw79gMgg7uGM0y4CbZpPKCXHEGZdaue74NsCTySvsg Q0DwU3wDSRoBjUYCK1NGM42q3w== X-Google-Smtp-Source: APXvYqzU0FF3sN/XGW7SSYo9TzXqrKS0wyl4DSiB+gjPutQPkAxOrFppUNq0o5ssZ1n2oIesTG4UKQ== X-Received: by 2002:a62:70c6:: with SMTP id l189mr15362930pfc.139.1556931562728; Fri, 03 May 2019 17:59:22 -0700 (PDT) Received: from localhost ([2620:15c:6:12:9c46:e0da:efbf:69cc]) by smtp.gmail.com with ESMTPSA id a3sm4163407pfn.182.2019.05.03.17.59.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 03 May 2019 17:59:21 -0700 (PDT) Date: Fri, 3 May 2019 20:59:20 -0400 From: Joel Fernandes To: Masahiro Yamada Cc: Linux Kernel Mailing List , Steven Rostedt , Adrian Ratiu , Alexei Starovoitov , Andrew Morton , atish patra , bpf@vger.kernel.org, Brendan Gregg , Brendan Gregg , Daniel Colascione , Daniel Borkmann , Dan Williams , Dietmar Eggemann , duyuchao , Greg Kroah-Hartman , Guenter Roeck , Jonathan Corbet , Karim Yaghmour , Kees Cook , "Cc: Android Kernel" , "open list:DOCUMENTATION" , "open list:KERNEL SELFTEST FRAMEWORK" , linux-trace-devel@vger.kernel.org, Manjo Raja Rao , Masami Hiramatsu , =?utf-8?Q?Micha=C5=82?= Gregorczyk , Michal Gregorczyk , Mohammad Husain , Olof Johansson , Qais Yousef , Randy Dunlap , Shuah Khan , Srinivas Ramana , Tamir Carmeli , Yonghong Song Subject: Re: [PATCH] kheaders: Move from proc to sysfs Message-ID: <20190504005920.GA261146@google.com> References: <20190503182459.159121-1-joel@joelfernandes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-trace-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-trace-devel@vger.kernel.org On Sat, May 04, 2019 at 09:21:41AM +0900, Masahiro Yamada wrote: > On Sat, May 4, 2019 at 9:18 AM Masahiro Yamada > wrote: > > > > On Sat, May 4, 2019 at 3:27 AM Joel Fernandes (Google) > > wrote: > > > > > > The kheaders archive consisting of the kernel headers used for compiling > > > bpf programs is in /proc. However there is concern that moving it here > > > will make it permanent. Let us move it to /sys/kernel as discussed [1]. > > > > > > [1] https://lore.kernel.org/patchwork/patch/1067310/#1265969 > > > > > > Suggested-by: Steven Rostedt > > > Signed-off-by: Joel Fernandes (Google) > > > --- > > > This patch applies on top of the previous patch that was applied to the > > > driver tree: > > > https://lore.kernel.org/patchwork/patch/1067310/ > > > > > > kernel/kheaders.c | 40 ++++++++++++++++------------------------ > > > > > > Please rename CONFIG_IKHEADERS_PROC. > > > > Thanks. > > > Please adjust Kconfig prompt. > tristate "Enable kernel header artifacts through /proc/kheaders.tar.xz" > > > "depends on PROC_FS" -> "depends on SYSFS" Sorry to miss these config updates. I will update the patch and resend.