From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8AD8C43152 for ; Mon, 26 Aug 2024 12:25:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724675109; cv=none; b=fUFYN5qXLDbsgdHT5M8OZCioDluRL+Zx+2DzOs0kqpamv0ML2fJZEkzKc2IVxiI/FU/KNQHYfa1N5gczo3jaYakoclHfxZ4m1bg2S49lqfHitOnvXNCZ7UUoNZsql+Fcv2S0CTa1gEdNjoBSxii9wo8AEtrJkoFEyL2lfbvBCV0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724675109; c=relaxed/simple; bh=jpDRH9dbAziLy0GYQaJhc+koCjZez7lfB5Y1aHhxtgg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=QXuGiXIXdyillC2DBA/ZdioKQX1fUkONj7SQsGH2eeE1VpdCd5a7sccvCxB3U4CylG2Q7YSc4wkZjMZq0BXQGN15QYX/nTTaKulQPYpi7H7r1njyTFwegPKjJMc1peKw5nQXtgydMZrQdRz5LGwy++FWfuPM/YZVsiJLSIO2oI0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=MwujKWBT; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="MwujKWBT" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1724675106; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=jpDRH9dbAziLy0GYQaJhc+koCjZez7lfB5Y1aHhxtgg=; b=MwujKWBTL4to/AC+7hoK0oIU+GZlQCoUWpAH7G3ctT6buNyz27Gcs0JiDO8FuK69d8IR7F FptRcuh1aLvja9d0BBr1IzIWMJsMDTVv8GsdaCL5xpXw6hvAvxjANojFUycoKo7H9iSZL5 wcGJVrUXH06DQ+jSgAktwZ6yRT4nIyg= Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-151-Q_-YKPSaM72EZkA1yHd_-w-1; Mon, 26 Aug 2024 08:25:03 -0400 X-MC-Unique: Q_-YKPSaM72EZkA1yHd_-w-1 Received: from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 570081955D4B; Mon, 26 Aug 2024 12:25:01 +0000 (UTC) Received: from dhcp-27-174.brq.redhat.com (unknown [10.45.224.12]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with SMTP id D8A951955F45; Mon, 26 Aug 2024 12:24:56 +0000 (UTC) Received: by dhcp-27-174.brq.redhat.com (nbSMTP-1.00) for uid 1000 oleg@redhat.com; Mon, 26 Aug 2024 14:24:54 +0200 (CEST) Date: Mon, 26 Aug 2024 14:24:49 +0200 From: Oleg Nesterov To: Jiri Olsa Cc: Tianyi Liu , andrii.nakryiko@gmail.com, mhiramat@kernel.org, ajor@meta.com, albancrequy@linux.microsoft.com, bpf@vger.kernel.org, flaniel@linux.microsoft.com, linux-trace-kernel@vger.kernel.org, linux@jordanrome.com, mathieu.desnoyers@efficios.com Subject: Re: [PATCH v2] tracing/uprobe: Add missing PID filter for uretprobe Message-ID: <20240826122448.GB21268@redhat.com> References: <20240825171417.GB3906@redhat.com> <20240825224018.GD3906@redhat.com> <20240826115752.GA21268@redhat.com> Precedence: bulk X-Mailing-List: linux-trace-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240826115752.GA21268@redhat.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12 On 08/26, Oleg Nesterov wrote: > > Does bpftrace use bpf_uprobe_multi_link_attach/etc ? I guess not... Given that the patch from Tianyi makes the difference, bpftrace should trigger the "#ifdef CONFIG_BPF_EVENTS" code in __uprobe_perf_func(), and bpf_prog_run_array_uprobe() should return zero, correct? > Then which userspace tool uses this code? ;) Yes ;) Oleg.