Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3799097rdh; Tue, 28 Nov 2023 04:23:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IHM5nycY8cWGyYNL3LfLGPFvXllgwaVe2d4ircW8EZx4MQffayTbiVcExyd0O3XpgCNyUJU X-Received: by 2002:a17:90a:1a:b0:280:5e8:58b1 with SMTP id 26-20020a17090a001a00b0028005e858b1mr14321190pja.33.1701174182083; Tue, 28 Nov 2023 04:23:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701174182; cv=none; d=google.com; s=arc-20160816; b=cGPN+ItjZAXOAJmtDVNn6rTzNyOltRd7o5RtHnlsSXDLjA+E5GLsHM6ibBiHVHG2Au TiWqfq9NUVdmeYSwSjAmAlXgvI1yTq7xd9NtVdbU0BWVZurmSbGeDBIk+d9lI/CtDeAg So6UpQuzGXcDi+jDi625wCno7gUEQ5YLJU1rF+0H+hI5JswLPZqBdB71co4IZlSjgCXU +OAuHP7Tt28qnumE2/l9wUNgw4rahioEJVnM6J5TTkVqfiuDoXUN4OWkTXOUaGSR6ptl 2fucosNeDJ0oabJ4GYrLP3kWdIz3IgFGJTwpNgXWtdIcTJZlJvmGenQptj7BEvF1VTOn u5Nw== 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 :dkim-signature; bh=rvq73XuxZ95CTBjovSAyodQFAsNwbv+BE8WjF6el1+A=; fh=MHFbjiEyIRiJDyyjklkE8bixMO1uD9yEJOq7UyhE4VE=; b=slwwQMLW16aWdw0KfLxCS5meeJrSn40ioZnjjJ2kOj0oLcRKRtMZT0voeZZsiGpLps TYRITu/5FFkiAqH+6S6fa+CN2Is+g/IWzI3aBNce/lV9qGPi9XQpaZ90yjJTCG6+PTeH LFFDFaTwf4M3sfTjcrHe1J4Ap483chW+uzLC8ptP5kJYYDzvmDL+p5Bz+UWQZMIbnJzv MHhCh1gBD/j1FJF6apU2CaNPB0Qq8crl4EvAV4+18nHG2cqX7v9YpRKIkzrglYn2mX8b KQBcb3zUSqwDNV/60dBuYka6zne/fm3q8j3VMGJ9QXgPQmCwjtTeTlC6oFjiQi6JJ6Ep ekng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RR7f6n2P; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id e17-20020a17090301d100b001cfee481f91si2228584plh.339.2023.11.28.04.23.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 04:23:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RR7f6n2P; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id BC34580AD8E2; Tue, 28 Nov 2023 04:23:00 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344474AbjK1MWv (ORCPT + 99 others); Tue, 28 Nov 2023 07:22:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344006AbjK1MWu (ORCPT ); Tue, 28 Nov 2023 07:22:50 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED31495 for ; Tue, 28 Nov 2023 04:22:56 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 635FCC433C8; Tue, 28 Nov 2023 12:22:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701174173; bh=DXX2yyZV07cfawdxMHdycC1Xx/lp1zrsIhlOIBHIVfM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=RR7f6n2PxMOFQyeu21keut9EcMLkqoasl9Ot7S6MYIuDmXdN7qJFnhMFTdg9149fh ZDIVdt9H2VRkT/IG4BODcbsU4p6fZpPOBnPWHcgaciDqy8WPkhBb3nA4yjZ9NEeXVT BNYi3bnu+jQmW+pfEMn/iEqxAmXUQnAOBC9nuRzGuazCVbAXDSFw6OWq6mdxYiBVXk ekKVhu3U61kQtNIgMwHyXrTVZyi34aXbyirKMFFV5OgkLLVacqKt0Pl8sUHNi8NSVo a7gUBUmY5uyb6Ufob/2svRwgGwXSRaSSIvXLrkNaWYYTM5YgPUyhOHOcqW2PvNcdSq 6N9PG+K4PW4tg== Date: Tue, 28 Nov 2023 21:22:46 +0900 From: Masami Hiramatsu (Google) To: Jiri Olsa Cc: Alexei Starovoitov , Steven Rostedt , Florent Revest , linux-trace-kernel@vger.kernel.org, LKML , Martin KaFai Lau , bpf , Sven Schnelle , Alexei Starovoitov , Arnaldo Carvalho de Melo , Daniel Borkmann , Alan Maguire , Mark Rutland , Peter Zijlstra , Thomas Gleixner , Guo Ren Subject: Re: [PATCH v3 28/33] fprobe: Rewrite fprobe on function-graph tracer Message-Id: <20231128212246.db6a3dafdab190cc745c4364@kernel.org> In-Reply-To: References: <170109317214.343914.4784420430328654397.stgit@devnote2> <170109352014.343914.17580314660854847955.stgit@devnote2> X-Mailer: Sylpheed 3.7.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 X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 28 Nov 2023 04:23:00 -0800 (PST) On Tue, 28 Nov 2023 11:53:19 +0100 Jiri Olsa wrote: > On Mon, Nov 27, 2023 at 10:58:40PM +0900, Masami Hiramatsu (Google) wrote: > > From: Masami Hiramatsu (Google) > > > > Rewrite fprobe implementation on function-graph tracer. > > Major API changes are: > > - 'nr_maxactive' field is deprecated. > > - This depends on CONFIG_DYNAMIC_FTRACE_WITH_ARGS or > > !CONFIG_HAVE_DYNAMIC_FTRACE_WITH_ARGS, and > > CONFIG_HAVE_FUNCTION_GRAPH_FREGS. So currently works only > > on x86_64. > > - Currently the entry size is limited in 15 * sizeof(long). > > - If there is too many fprobe exit handler set on the same > > function, it will fail to probe. > > > > Signed-off-by: Masami Hiramatsu (Google) > > --- > > Changes in v3: > > - Update for new reserve_data/retrieve_data API. > > - Fix internal push/pop on fgraph data logic so that it can > > correctly save/restore the returning fprobes. > > hi, > looks like this one conflicts with recent: > > 4bbd93455659 kprobes: kretprobe scalability improvement Thanks for reporting! I also found some other patches conflicts with recent commits. Let me rebase it on the recent branch. Thank! > > jirka -- Masami Hiramatsu (Google)