Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3749224rdh; Tue, 28 Nov 2023 02:53:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IE4z43n2e7FXGAiYRf7qEjubhLTo30RDKay1vpPuCOS1NixLirQtZ34CTPpJBc2kT2fH+B2 X-Received: by 2002:a05:6808:178b:b0:3b8:5edf:5a10 with SMTP id bg11-20020a056808178b00b003b85edf5a10mr15158347oib.25.1701168817800; Tue, 28 Nov 2023 02:53:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701168817; cv=none; d=google.com; s=arc-20160816; b=rKqkJuzyNjPxUAfdm+xC9KGf4uXAVuEjy4keDKt3nHK1Q4HQeSe8/3+WoLygKTZ5Uf 5H+mWC1F47+9Cvf6cCR7GD9yVkV1oYLXsoL2U12vOPjfp2eBiKPNx+ks2SQQYjxGZpTy tBsdEzTjxqprVVbWY3xzcIt9gSZxswYsa6GSSkCrVjt0Xrnb7tiFOOx9KXd4xDtBJGmq GGGio3JUzvQTr+v79zRgkqMZ0TsYA9DULR0fFg6+hXF0IPt8jl9Jv2v/l/yZKDVATXll EG507pupCKhMZpjTzE1leXHcz+xUVPvjc7sIvBgL74MMCcmfwt3Kel59ItyCxdCrIpGH 4JYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:date:from:dkim-signature; bh=jHeRUHjNgcHkAoNUOrB2gZOKHhIEPCIVSV2fuslJNro=; fh=HQRt3482IbkaQ1sytQK2HaqA7bh9pX/5Nqgyt3+2xdU=; b=rc+56G2CjBjmm5Y0CWgcriZ8kXS2O4Nw1E4+Jmuz3w7lNgZNtog9yEibYTFfmqKpPQ ww8LtK2ossBpNdY4bZuQOjjneiUWMdWOIgBxj2K+MUE3hq/GeR+pbMuzrGETR+wGWN3p /sonOPjGB1xOypxEoLUMmDK5B6jp5ICyeRcmYYjH5ULsdxCcqMqGiEzS6Na2KhIDaCmf 9saj1BQXKSdbvLS0Qb4tPEi40b2HpLSwhDW6Mm66TDR7ysPfv88SrFVepcX57O9yEDs4 BbRV5M06h4/JJlIfmfRhFSyfN8dBVMbF7P+0IrxaJn+iis63gdM+U+fijl0KjVMsDXrE pJhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="RGAJf/G2"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id c3-20020a630d03000000b005aaf19c3981si12074540pgl.329.2023.11.28.02.53.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 02:53:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="RGAJf/G2"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 745B780A9D51; Tue, 28 Nov 2023 02:53:35 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344066AbjK1KxS (ORCPT + 99 others); Tue, 28 Nov 2023 05:53:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344042AbjK1KxR (ORCPT ); Tue, 28 Nov 2023 05:53:17 -0500 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E965182; Tue, 28 Nov 2023 02:53:23 -0800 (PST) Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-40b399a6529so22920475e9.1; Tue, 28 Nov 2023 02:53:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701168802; x=1701773602; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:date:from:from:to:cc:subject:date:message-id:reply-to; bh=jHeRUHjNgcHkAoNUOrB2gZOKHhIEPCIVSV2fuslJNro=; b=RGAJf/G2Po5XSEGRT1DGAbV0DxzhtijBRa98A6qAJyfQt5Qi3dDkbuAQIrV6omSjT+ 1Ee8kx3XiZM+F+FcR9WukkVfuXw/PqcUXnE7Pv7UhMGsqA7KDTV1F+owebyfNg/Diab4 QkAPvirezS/iSOY0j287UDZydKjl3QJLwUd22AwMb3DMIlypBQc6yOJGrOWP99w/1qFO YTyiKRIXynoq1m0VSZM2mrieav6VH3RYGutWFoBVx+rRzp/2S0fSUS49GQB1qCInn+vd 0OZ4TPGV8yO2ExylpPRSS/Vkih7jGTFL75UmGfYkgcERTX8RNPgbFxFw8Ow5ztfPklyu kroQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701168802; x=1701773602; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:date:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=jHeRUHjNgcHkAoNUOrB2gZOKHhIEPCIVSV2fuslJNro=; b=cw1wef+vFgRtZMmdtn89Mq4bJBWp40G/b0rCn/MlvavttB/k/kpf9KxXOL4eBmAjP2 ajoXMpDPx3ScPS53kczsjsQqH7wsvwuW+aksXfdYT4cQKB/atRwVeNIBW8ipBPF/7FG3 KNkxsuvyhUrC6+y+yaToM06pfpLK6JqtLlfLTQiwrmZ7N5I1+zyAJv259gLZs7Cyqb06 +cmEAxtWKXEm57lxwSirB5iOMhFOYi+ufqTXKQWCuyGDq/8uhTi18AEzN5tlxKQr+2LK Ackom6pQeE6j+roaGixpuV2vVIn//7oy+EPgxCGzwkMvrRnM8lNo0ggA1eUNRXTXblKS I46Q== X-Gm-Message-State: AOJu0YzssKV8T0N93CuQqkenzP9QKwJ7AhGAl+tdLrPbnuedmsDFDCOs 2uS0zfCoT0R2JXPwm641Ito= X-Received: by 2002:a5d:40cd:0:b0:333:224:48d with SMTP id b13-20020a5d40cd000000b003330224048dmr4670459wrq.33.1701168801641; Tue, 28 Nov 2023 02:53:21 -0800 (PST) Received: from krava (2001-1ae9-1c2-4c00-726e-c10f-8833-ff22.ip6.tmcz.cz. [2001:1ae9:1c2:4c00:726e:c10f:8833:ff22]) by smtp.gmail.com with ESMTPSA id d15-20020adff84f000000b00333097fc050sm2112498wrq.1.2023.11.28.02.53.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 02:53:21 -0800 (PST) From: Jiri Olsa X-Google-Original-From: Jiri Olsa Date: Tue, 28 Nov 2023 11:53:19 +0100 To: "Masami Hiramatsu (Google)" 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: References: <170109317214.343914.4784420430328654397.stgit@devnote2> <170109352014.343914.17580314660854847955.stgit@devnote2> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <170109352014.343914.17580314660854847955.stgit@devnote2> X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email 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 (lipwig.vger.email [0.0.0.0]); Tue, 28 Nov 2023 02:53:35 -0800 (PST) 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 jirka