Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp166519lqp; Fri, 12 Apr 2024 13:52:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX9rWDIpkZqLmlvV+vYqQXPhW560QoaxpnCYXkJWXA8aygidddFlv1gTVZWbVolEO1rnbFgfQ+HC1fN6qt0AuilskaaUx+zzl2reavlEg== X-Google-Smtp-Source: AGHT+IGLDouz5w3va6P/Goz3t0ceSsPCUQNvU3al+NK8cWHLWKNv+s7UFUqwiCU/d1eSmtnVyKcO X-Received: by 2002:a17:902:dac5:b0:1e3:e081:e7f5 with SMTP id q5-20020a170902dac500b001e3e081e7f5mr4159242plx.66.1712955155030; Fri, 12 Apr 2024 13:52:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712955155; cv=pass; d=google.com; s=arc-20160816; b=Qh/eox7SZTmCdRgBPje0dkFJ90s3lJRy14ThVQWI4vDoiT+mfPxL6NB+RPl0AE0Fw4 vp3lBeXS32yRGhXdfRZe9+g9eK39vKK6sXW56TVX34Sbp/8u+Oe9ByVZ/25O9JT9Qq2i 34jdmKhZkh6TepfCuKnWk+d1l1dNVdi1ZFv0J4jkV9JIMEcQNZc3vR2lyIGGI0cjBrA0 49e77z2U0WpQ5Ho039TG5G2Y4oCFDFIpHZqJXDN7OwoFiTbwJ3PGECrQSmB8OwrMONPl 24MQ5w9MRynozYhPRsHZasFDiwB2MRrTEDhpjrkOMPPn8XhDGGqfKC2fA7Iw/oiJsZrC 1PEg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Zl4oTbyR2RdodETWjP8iISAKqMmqKIu9RkfVPlVd4ZA=; fh=8fG53OZpSjvCbYMNmGlEkQ1t3nPkSY/61Cc4BYLBxMM=; b=Gp+6jLp5du9L7e30gEwqbGJ0Zp/mQb/4ip9mEHgY4SvXSS4hd2qFW6loSv9hiUx6a7 Lk7PQ72l+nbqYluZLvQYYx5ps4FgU7fmTqovujy67Bsg4T+nWEFX6kXsy1Tv+P0J2Wvo DLKuvuWq0hlKvI82MlL0KDfpN5LXGVYqAGXffilA9ADjS2Rvh+YrRSzwMW6HxI8Z9Rfc 6/XzGKPM13eD772Tm7FUs01gg254JKR3ycdEdpK91HFI9EHD43QKiDQvHBjhYePNJ8u7 bj1CoiOaAdBZy+N6hMPV7Dri6bPFdApEGvPFQHtdMCSIlICEOg78s4Yy9JLHp40QEoJ9 ii6w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dDl9ufB4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-143331-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143331-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id k11-20020a170902c40b00b001e47fa9ae58si3984778plk.651.2024.04.12.13.52.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 13:52:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-143331-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dDl9ufB4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-143331-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143331-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id A675D282C9E for ; Fri, 12 Apr 2024 20:52:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 40EE35478B; Fri, 12 Apr 2024 20:52:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dDl9ufB4" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 550383F9E0; Fri, 12 Apr 2024 20:52:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712955146; cv=none; b=s4Y0cXw1vDVIKMTW4mIMQUl9y+NnYSKIYpfgTVBhcTKLcYNma7OaLrJC22nUUQAPdRUR9RFQTonHY3LwSwVROedY0AVIqwNzGEWqGy2XBEjy/6cUW1rq3u3x2baSWUSIG/6wcO61agYvEkxnZq6Z+8v3/xwhZci5SZ41Mlmx/aM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712955146; c=relaxed/simple; bh=9VR+EMdsvM+WGe+zuTXXUWxuK3h8e/TNNnEiaHfUVho=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=i+KB+4xEgMe46by7HikwRKKdzr6N8RrDCzcoExlJbiE+6rqe3Qq4seQQg1SpAxEux8VxKuuKUoQlkeFlUybTy3CSpvuS6S046rIGP0brjLAGhmGyAHoQ+e7lvmLNpAw7iKRx+/pEo8EwnGXKkt8tdGw/bRB6GZwHIidtDvGUgn4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dDl9ufB4; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3E28EC113CC; Fri, 12 Apr 2024 20:52:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712955145; bh=9VR+EMdsvM+WGe+zuTXXUWxuK3h8e/TNNnEiaHfUVho=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dDl9ufB4pOPMR954EaVyoqW/ePbx13SJIc00VvHo4qZI/gtdxLIRvsXv5fJZcrkBl C2kKSDohBHyHGPJEunt0axpZIib5DtmH1R4xabtILoGSsSMKe6k8M6xh9IJ9aJt8rY b6XkXHhRkylK/QqEh0SCh5I4GpoVCv/2xN+WtMhzJi8jUOHU10qNaMiMxqlDWOoF81 VzES6lLzhk9n4YYI6UwDmYQoSg8r4fDAqjkm7vZ6BzHQ7M1zejI3UMtVO1UorTV9v0 1VpXMOVZxyDp51Wl6yi8BONMBkfWfiPMr0RwSVl1evszS8u4yCYXvUcZl4TYxAM5C9 RBHRgoYuogFoQ== Date: Fri, 12 Apr 2024 17:52:22 -0300 From: Arnaldo Carvalho de Melo To: Jiri Olsa Cc: Ian Rogers , Peter Zijlstra , Ingo Molnar , Namhyung Kim , Mark Rutland , Alexander Shishkin , Adrian Hunter , Kan Liang , Kees Cook , Andrei Vagin , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org Subject: Re: [PATCH v1 1/2] perf bench uprobe: Remove lib64 from libc.so.6 binary path Message-ID: References: <20240406040911.1603801-1-irogers@google.com> Precedence: bulk X-Mailing-List: linux-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: On Wed, Apr 10, 2024 at 09:18:44AM +0200, Jiri Olsa wrote: > On Fri, Apr 05, 2024 at 09:09:10PM -0700, Ian Rogers wrote: > > bpf_program__attach_uprobe_opts will search LD_LIBRARY_PATH and so > > specifying `/lib64` is unnecessary and causes failures for libc.so.6 > > paths like `/lib/x86_64-linux-gnu/libc.so.6`. > > > > Fixes: 7b47623b8cae ("perf bench uprobe trace_printk: Add entry attaching an BPF program that does a trace_printk") > > Signed-off-by: Ian Rogers > > patchset lgtm > > Acked-by: Jiri Olsa Thanks, applied it to the series, b4 picked it just for this patch. I tried to convince Konstantin to look for "patchset lgtm", "for the series", but for now we need to do it manually :-) - Arnaldo