Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1430695lql; Tue, 12 Mar 2024 18:14:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXIWQhiJ0kZFOIFJPv6iUUN/ZlNgc/xk8GCH6wNcpyciHoe4WO+W0y92i4YHkvwTMizoeuFSbbmchKyq7SvxoF2OugDzxWwLaKQxB+Ngw== X-Google-Smtp-Source: AGHT+IEhmHBaICudOy/W9kDWn1mNvJKoXzgOuoihrd6Qb+9tAvZnP0Dnht+2PuZ3vQz9AHGyr6cw X-Received: by 2002:a17:906:1d1b:b0:a46:5e1b:58a3 with SMTP id n27-20020a1709061d1b00b00a465e1b58a3mr86260ejh.35.1710292467134; Tue, 12 Mar 2024 18:14:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710292467; cv=pass; d=google.com; s=arc-20160816; b=xfJ4sfRePKPsXKI/0EC5QQojhngsqT9m9otxpjIfC7FxN9NcJVAty7aq1HyyTqvYdi fAfXkDfqM93OzunDyPtxSp8fU2mAOfSFYgHX9d2BWP5+szkQfdjK4OOPNdKywIDI3SLn R+iM18UiYeeCVVP5phbLtK9/EZfVcNVZZig+VjrWRRQhYADBYBjjKEwzpW7MN8oN2JvG OXdqCFDZdawkZgyqchUm8uGXjLtUbBBZ0nq1LvVPmMKvcyGsdj+56KC2OLI97xsQEYJB CrlSfQ5b7AZYY4IlFx1DeZ8FeHOp5MoyyDbnICo+0qIwQaWqMheJpnJWMD2vhrE0+9D4 /O0A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=twMccmPlR7/SShgFg0AONE56vJVPPL3EBuKYw8SPbFI=; fh=SR5mKrKCJiAcQlUoqB7MPoEscbH+0UwzOwEmBNrGptY=; b=FaoFXh1VNUdGrr8WymJ51vudEw+2+hPBfCK9UdKL6BmZYnIzcNKP9GUKAPS2nH5wx0 uPsDo8/VuMu7G/4cOxs6tw8tedeR2/4Q5aV157UIxAnlY23kpODqhWjH83iB9fGdKKHP P+CTCMPF8QEAL+hHQ2gHEIz58T+vxMU+2i1N0hocn9qVZHBeuT9oeM+fORVt6XcMgjA2 vHtD2jxLFbPc6H5hY4iBF2/SwzMTNRj202DJ6UtSCtuGU6VrVRVoeNK5CGFN38bEIfPx LoYHNRtJRdoQbOXW8j+7jQNDQr9bkB+hL82PX589uyfK6DNkwh2/5+r45c6B92kCUqAz oS0A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bytedance.com header.s=google header.b=FDZNA8oD; arc=pass (i=1 spf=pass spfdomain=bytedance.com dkim=pass dkdomain=bytedance.com dmarc=pass fromdomain=bytedance.com); spf=pass (google.com: domain of linux-kernel+bounces-100993-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100993-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=bytedance.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id t26-20020a17090616da00b00a4623e82facsi2527322ejd.743.2024.03.12.18.14.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 18:14:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-100993-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@bytedance.com header.s=google header.b=FDZNA8oD; arc=pass (i=1 spf=pass spfdomain=bytedance.com dkim=pass dkdomain=bytedance.com dmarc=pass fromdomain=bytedance.com); spf=pass (google.com: domain of linux-kernel+bounces-100993-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100993-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=bytedance.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id D4F621F23B86 for ; Wed, 13 Mar 2024 01:14:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 68E6FBA27; Wed, 13 Mar 2024 01:14:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bytedance.com header.i=@bytedance.com header.b="FDZNA8oD" Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E17E0947A for ; Wed, 13 Mar 2024 01:14:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710292456; cv=none; b=nIbBY2yPKF4wshpoJUgodMxYrSPbf6xmCWkkWgVhbMe1DIe3E6pY5nsv3VPH+rbSl7R60iOb7TZqyvEnc0UvJw4w5q+Y43VR/IzvxF+uGSYz+gOJggtdfnKzeO8JW0DcLl6USo9CDHrxePKrsRe/GzDk/rg9qlMZglylOEMMttA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710292456; c=relaxed/simple; bh=twMccmPlR7/SShgFg0AONE56vJVPPL3EBuKYw8SPbFI=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=MgsMYUa2jLrM5XKpv7sl14PphszeiHtc76ePgxHGxiTkmR/T4su6caebNG6bJccjqpl2mp/RnPtnCfdzYDJ5xjiN125p2Vv/zmgoIgKBdYymDFj5IvuGE5lFu0r3R9EagtThnzR6jcaRE4xYSH3MBoWSqVb5T58WFeFCca8v7vI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=bytedance.com; spf=pass smtp.mailfrom=bytedance.com; dkim=pass (2048-bit key) header.d=bytedance.com header.i=@bytedance.com header.b=FDZNA8oD; arc=none smtp.client-ip=209.85.216.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=bytedance.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bytedance.com Received: by mail-pj1-f50.google.com with SMTP id 98e67ed59e1d1-29bb3d62949so3317508a91.1 for ; Tue, 12 Mar 2024 18:14:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance.com; s=google; t=1710292454; x=1710897254; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=twMccmPlR7/SShgFg0AONE56vJVPPL3EBuKYw8SPbFI=; b=FDZNA8oDu26c1b4Iq8kZpI5sjsgzWxN3M1q+oBqWsp+edkBILL0x/ka8+/nChjOnBo cMYlOjrqOw6kEqUyIAMKHDstbnc8rFkNuM1rrWPxLO3KbA3p4Y++EQDbz8OKhAb5qja8 P/1+acCyx9guR3yh+MkS99mdDHrWjPTSgvwyMWYpSq15boCnFJ9P6M8RBXrnaibQe2qk 2BsCYF1COi08jt7I+YEdGO6oK2NjxCIwpkkFSRn8A/uCPUSF/O4d72djMV8nJFSKXwUQ W8cPGSiSEhradaspEmLUBW3lkkxtC0OsA80J9lNQ/YWJOsOA1HqnRU1xV0YI5hVDMg7T PbzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710292454; x=1710897254; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=twMccmPlR7/SShgFg0AONE56vJVPPL3EBuKYw8SPbFI=; b=SI6uNQqql2jsCYwEXxE5v+MX/lvkxS19PlIzasTAPHsl+X9gp1dPUQAGV92Vrh8NSE DnDFvp0FOk8eBgDTgWlnutojj90Z4dgKAuBKQDINbs6ccO8OLxaovt9n9mwhpHdoWsV+ dfPMxvJQaIXGaDRZsMJP+3QVkduop+jDHKGI1SX5vOXPpbxC9j5kgTGfQ22pUYyU946U OeMp37x7hkpxWwg7vd5BvDHnwBnPbKxl3SnDt6Ki+11473qZKupfn4Yc/y3VxR8xCfE0 41F1Cj24BtW0ipVThM72o6IlE2T9UGMhDBzD1Y64yDafmpa6EuZNaemsLP1nHA4hJPHj uR2A== X-Forwarded-Encrypted: i=1; AJvYcCVeO+xczJFmUoXvxfUwIqNYNR+yPqmyYxHeLyZ/2Zv1rQbuFTIo+afEAWq5fGJm0vCqeZf/o7D+jHiE7AowWbXTkbkrGRiOqAnoZztZ X-Gm-Message-State: AOJu0Yzt/zG4VOmf512dJw5oJuxHiZtFH7SLYxMwMWTU0XJM8KXgN//B Ymb9zZFrwiaaqKOdxLb6/thkW4tJZ4M77Gf1toR0b7nDnWM03SNKl80S9CfVKkDPHx8gXMChGmp lJgY902G5hUrYQHm2h/p2lYJbOfaj7722cynX8A== X-Received: by 2002:a17:90a:bb0d:b0:29c:5ba3:890e with SMTP id u13-20020a17090abb0d00b0029c5ba3890emr829001pjr.4.1710292454186; Tue, 12 Mar 2024 18:14:14 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240311093526.1010158-1-dongmenglong.8@bytedance.com> <20240311093526.1010158-9-dongmenglong.8@bytedance.com> In-Reply-To: From: =?UTF-8?B?5qKm6b6Z6JGj?= Date: Wed, 13 Mar 2024 09:14:03 +0800 Message-ID: Subject: Re: [External] Re: [PATCH bpf-next v2 8/9] libbpf: add support for the multi-link of tracing To: Alexei Starovoitov Cc: Andrii Nakryiko , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Eddy Z , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , "David S. Miller" , David Ahern , Dave Hansen , X86 ML , Steven Rostedt , Mathieu Desnoyers , Quentin Monnet , bpf , linux-arm-kernel , LKML , linux-riscv , linux-s390 , Network Development , linux-trace-kernel@vger.kernel.org, "open list:KERNEL SELFTEST FRAMEWORK" , linux-stm32@st-md-mailman.stormreply.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Mar 13, 2024 at 12:12=E2=80=AFAM Alexei Starovoitov wrote: > > On Mon, Mar 11, 2024 at 7:44=E2=80=AFPM =E6=A2=A6=E9=BE=99=E8=91=A3 wrote: > > > > On Tue, Mar 12, 2024 at 9:56=E2=80=AFAM Alexei Starovoitov > > wrote: > > > > > > On Mon, Mar 11, 2024 at 2:35=E2=80=AFAM Menglong Dong > > > wrote: [...] > > > Pls use glob_match the way [ku]probe multi are doing > > > instead of exact match. > > > > Hello, > > > > I'm a little suspecting the effect of glob_match. I seldom found > > the use case that the kernel functions which we want to trace > > have the same naming pattern. And the exact match seems more > > useful. > > > > Can we use both exact and glob match here? > > exact is a subset of glob_match. > Pls follow the pattern that[ku]probe multi established > in terms of user interface expectations. Okay!