Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp187001pxb; Mon, 7 Feb 2022 09:02:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJz0IwmITVfGCp2MbvdA5EKclTBaRQHB2Zm933nb0fiZxOmLyO6SBdlPNeo8c+0LkhXKNFFk X-Received: by 2002:a17:906:b842:: with SMTP id ga2mr543647ejb.158.1644253338348; Mon, 07 Feb 2022 09:02:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644253338; cv=none; d=google.com; s=arc-20160816; b=J8xo/tEn4pjIgVGLia0XyMFLWVpR/kzrRTtIp89rYdGFpKhBDlSoBYRtVWcCTa5KQO C+Ca5VlCxf1GM0JqAbSvKSBNijBI/SMzXN136LmpBjbvsS1vSxs/ltZF+5ybd5liSAm8 eH7wxw+tL3PX0HJwIHzH8HuBYBhCfQw0VwvKKej6gHt/+VXgEqlYRdRhEpMXtnRzeeqB 6K49ROkk3IXgAwbJ2Ijce4X01JKvJtWO2Ldowcely+pqx0UEH+yCfONhE0RYP876x3AD caDYq7yHhU7nZt9xe7vlbrvqjFu0ZZBU1QkMcCtVGn3uSYkHb7IXhxaYO7OlgBcABnyv az+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=2bpGEL1s7vwy9yPRn1lbRnxaJLI1WAuazQwx6NrRDQY=; b=cSVwcEgrYlym+u2nf3+tH73o9AWLI1Jm2ncd55X8KwI9leOclMbubkZFOPM5IGaBFr ipcLuzMfuXtore90m7W8WzAXPZK57Ud5I97QQ3zg79VKu+6yHuwv4SHaNMw99FccrbUs zdbb63WnGDBqKXgwJ4dCyZ9p+5ViWnbgvEL2/jFRw6+xdIvVs21caOcQM/SNNWQ9Mi4o h/wdnhZY4Wpeh964EznHrFQjN2fSWD689OAUDrXy1emSyECv+QsKU4hlXsEuiJA8m8+g H/jrQSjSC2ZS49Z2dGTXZnGcW5P0WOOYDQQ9zX4jjgEo3mmer63+XyIKQiPQIFtX1aC0 qDzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=czQEscCt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t22si8536775ejf.191.2022.02.07.09.01.51; Mon, 07 Feb 2022 09:02:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=czQEscCt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S1356539AbiBDBfH (ORCPT + 99 others); Thu, 3 Feb 2022 20:35:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233523AbiBDBfG (ORCPT ); Thu, 3 Feb 2022 20:35:06 -0500 Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58AEDC061714; Thu, 3 Feb 2022 17:35:06 -0800 (PST) Received: by mail-pf1-x42a.google.com with SMTP id i30so3767176pfk.8; Thu, 03 Feb 2022 17:35:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2bpGEL1s7vwy9yPRn1lbRnxaJLI1WAuazQwx6NrRDQY=; b=czQEscCtwlYRzgBzIFtw1PupejjJC/HH6fUW/QGebzll5RE15jdecT1kb53Ep81cT9 CX2to994pbDs6YT8TFL9PsHwAioVntitZikiCNfM/s/8hiwKlQisJB5ZFHUMqng2/wYb wOdxyCd5Tx9Gr8juHLUn6oQoOhAb1XHthF9DY8urZll2TBj1v1t2nBH3zJB3FIjjvjLH 1B7RgsvgW/2NgV4XLaYvQb9vRrSJDyOeJVvjkBnbhbNTgMz7ICVUj0h8exXmyEt2W/i4 vmGj9m5h9Z0tgFXbhBsIGM4AZEkaWFsifKimV4aw7EDCbIX8FiQUtEsbQxSm//ni+yOM HiHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2bpGEL1s7vwy9yPRn1lbRnxaJLI1WAuazQwx6NrRDQY=; b=uy8o+YWYGNmuhLXqmHj+Sr5Vzd6SmRaAsBB0qdnYOXN2pPyeNptH782Aq2CqsETFpw QUwzOfQmA1uynLhuwo/KjhLHlgx7FRWjqjt+AysBmXC5xeKOlBUst/UQyhmWAsxUZQvU GLvfRfzS18EDfivo30wb9Be08i6f+TFOZRKlArVSd+Gx9vNUB2U+nSp45WwqtglwJxDC 39DpXqha1CDMBgq+MJfVAFNKC3osOMJrDUGDBtcL8DkinvGs3DkUc6hYdEeMV/rakH1K BjJR45Uf6/wAst2KxnbyU4RT30eEBmPAdemFOgq29oFZCILq/Mkr53vZjYAA5yg10vhP 3gCw== X-Gm-Message-State: AOAM533+VIOIuFjBrVzyQyY4z67IdgyKQHmN4nZl0oqxdGGuzIq3WH4y Oyc0gDB9bx6sNnjKDx+PlsyA6MCGtQfTgo+J79M= X-Received: by 2002:a63:5b43:: with SMTP id l3mr611410pgm.375.1643938505671; Thu, 03 Feb 2022 17:35:05 -0800 (PST) MIME-Version: 1.0 References: <20220202135333.190761-1-jolsa@kernel.org> <20220204094619.2784e00c0b7359356458ca57@kernel.org> In-Reply-To: <20220204094619.2784e00c0b7359356458ca57@kernel.org> From: Alexei Starovoitov Date: Thu, 3 Feb 2022 17:34:54 -0800 Message-ID: Subject: Re: [PATCH 0/8] bpf: Add fprobe link To: Masami Hiramatsu Cc: Jiri Olsa , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Network Development , bpf , lkml , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Steven Rostedt , Jiri Olsa Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 3, 2022 at 4:46 PM Masami Hiramatsu wrote: > > I thought What Alexei pointed was that don't expose the FPROBE name > to user space. If so, I agree with that. We can continue to use > KPROBE for user space. Using fprobe is just for kernel implementation. Clearly that intent is not working. The "fprobe" name is already leaking outside of the kernel internals. The module interface is being proposed. You'd need to document it, etc. I think it's only causing confusion to users. The new name serves no additional purpose other than being new and unheard of. fprobe is kprobe on ftrace. That's it. Just call it kprobe on ftrace in api and everywhere. Please?