Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp1093092rdg; Fri, 11 Aug 2023 09:26:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHOuBpcTpJL8O2o4ClQnhLQ+jLVMd52abObiTZBPK4LFARI0+Z/XiyhwOvRXHaUbRHvCatJ X-Received: by 2002:a17:902:8c8f:b0:1b8:8670:541 with SMTP id t15-20020a1709028c8f00b001b886700541mr1421422plo.25.1691771205412; Fri, 11 Aug 2023 09:26:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691771205; cv=none; d=google.com; s=arc-20160816; b=Ah3AHfR9+MXgM+vJCsU16hhkMyVF5OikYTkVAw/2wqje/EgM44zj83wxBHhZjnRUKs Wb8Y8l/GRD13y2cBJuiV+KtgTTs9q7oXwMqVC9ml0tzMhEN48A/Uq76gw5e0MnKOdrEA LsVtqjQUV6JheL//XvsDUhvUCXrclorW23W3gjlMUrrC9jPjeY5GgA/O47WCFCIY6eZc NWI5olpIDSFd4AfCtn/cmDLdJmAOIgCLW+UL4XUltEmMrwzivykJglyHqSzW+qcaiwuE UqdoJpnaOS+AOyyJu09NcemGauWgMMl/7x6nSy7PExfyh7NCtlz9i9tWExHXoYAgwKg4 FjMg== 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:subject:cc:to:from:date; bh=kBJGFKd+DWuEZu1K36hbGJCs6jf/0pr1zzgY1L7gpzA=; fh=LJjWEvAi3E4m5vEzAyNt6pdAhkVC+adskurqHZBx4Mw=; b=TWvbu5BAGzaJJx10+f2trbe3KRi5tpq7nbYLog9B+p6SxQEJz30Kg9a26HQRaAEZ9G ylyoj/Aa4+6dAJdpAnonXJVZJOwoMwKISsgN+5YNaoR/6BSZD3kwPioajpiFyW65b9lI nOPYvsqN29KhyEfXm1dE6dpJbeIxdoz+GZmfnloTgbHCRIB52t64VuW6rOlKGoSC0q2R KIFPtUKzZ6/C0TfW+Q6+1x2CWKWQt5YQzGd0GWNoi1Yw34holPeFXnVhteWV21dY53LY E5sUwjMCDSKXb2eXNxZwlrNpgllunNn4Kum+LjnVPsg9BaXdSsg5ZqNapB/B5lypckl9 i3mQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m3-20020a170902d18300b001b3ac2cdacasi3481571plb.553.2023.08.11.09.26.32; Fri, 11 Aug 2023 09:26:45 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236661AbjHKP5U (ORCPT + 99 others); Fri, 11 Aug 2023 11:57:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231364AbjHKP5T (ORCPT ); Fri, 11 Aug 2023 11:57:19 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D32952712; Fri, 11 Aug 2023 08:57:18 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 63F5B65C00; Fri, 11 Aug 2023 15:57:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D1C67C433C8; Fri, 11 Aug 2023 15:57:15 +0000 (UTC) Date: Fri, 11 Aug 2023 11:57:14 -0400 From: Steven Rostedt To: "Masami Hiramatsu (Google)" Cc: Florent Revest , Alexei Starovoitov , linux-trace-kernel@vger.kernel.org, LKML , Martin KaFai Lau , bpf , Sven Schnelle , Alexei Starovoitov , Jiri Olsa , Arnaldo Carvalho de Melo , Daniel Borkmann , Alan Maguire , Mark Rutland , Peter Zijlstra , Thomas Gleixner Subject: Re: [RFC PATCH v2 4/6] tracing/fprobe: Enable fprobe events with CONFIG_DYNAMIC_FTRACE_WITH_ARGS Message-ID: <20230811115714.171163fc@gandalf.local.home> In-Reply-To: <20230810093845.7ebbe1ada897a4afe861e331@kernel.org> References: <169139090386.324433.6412259486776991296.stgit@devnote2> <169139095066.324433.15514499924371317690.stgit@devnote2> <20230809234512.e3c39b8fffcc6297262f8fc8@kernel.org> <20230810093845.7ebbe1ada897a4afe861e331@kernel.org> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 10 Aug 2023 09:38:45 +0900 Masami Hiramatsu (Google) wrote: > > Or even just above this function if there are low chances it would get > > used elsewhere :) > > Thanks, but since regs_get_kernel_stack_nth() is defined in asm/ptrace.h, > I think ftrace_regs_get_kernel_stack_nth() is better defined in > linux/ftrace.h. :) I agree with Masami. Thanks, -- Steve