From nobody Wed Apr 1 09:47:05 2026 Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) (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 0C2493624B2 for ; Mon, 30 Mar 2026 16:51:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=216.40.44.10 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774889500; cv=none; b=IuIOgimtG/RRxOpS9XvdC8UfFxC52BMpeRDHMiCU011abHxML3SE9oiq4LbVqEro2PKf+3MaBi2MYssnX+boTF1BYIY6HVY4aymT5nuXyNKKtP56+Vv2VvYDU1fqmpg+7Gop9+elsyRfAJg71HOO6Wye/7fmp1jcxEZjvGmyX9U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774889500; c=relaxed/simple; bh=e7CdH0FoW3qw7GFoG5NexGtbkNX+V+2vfgMYE4lF2TQ=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=LWBgybZVH8JjeKoQ9WAXdhJmjf0JL7vTbo2lxzZmcEsAIIfdzskqj9s6nWV89313Jzm4DMjHR8fw6KxI6dY8n+ZnXu6Oz0r9e355ChBAcyyE/InZJ/qnX1US2AkKPGX01oWbQavU5f0q6wYmdraplw+KSkaOEyE12x546pcOSgQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=goodmis.org; spf=pass smtp.mailfrom=goodmis.org; arc=none smtp.client-ip=216.40.44.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=goodmis.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=goodmis.org Received: from omf13.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id BDF7B14075A; Mon, 30 Mar 2026 16:51:31 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: rostedt@goodmis.org) by omf13.hostedemail.com (Postfix) with ESMTPA id 3C98B2000D; Mon, 30 Mar 2026 16:51:30 +0000 (UTC) Date: Mon, 30 Mar 2026 12:52:26 -0400 From: Steven Rostedt To: Linus Torvalds Cc: LKML , Tomas Glozar Subject: [GIT PULL] rtla: Fix build failure without libbpf Message-ID: <20260330125226.014677f0@gandalf.local.home> X-Mailer: Claws Mail 3.20.0git84 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 3C98B2000D X-Stat-Signature: 17aroh8qhb1iouergdiqa3mbgzmkx8on X-Rspamd-Server: rspamout03 X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Session-ID: U2FsdGVkX1/iFQ4PsoACuhLOjWxGWExvXbopodGWwzw= X-HE-Tag: 1774889490-954174 X-HE-Meta: U2FsdGVkX18CAb34+1SBPgxsxEyt86w+bSFmB5ckUH5i5q4B5IJMz5bETK6H1DE68/OtPpavNBFPLKfrOwK9MNYPOpJ27EToqCh5NgrwSLVPaFJOt9FiUjTMM028S7H/dO3mbvzDMG3oF+ejHDrdbXw7YjWl1jgfF87/d/9XH3ryTnVr18r8HMEphjE4yqY30D5Mz9q9v1DFVu1mjFVvh0176EyD96o8MoBT21lD1QPM4u+0/kAZ+2scBU+2lUICVG5KWJZyANahRadtEh5ydwN87E20LEabk6Tqx7b9p1WkUoRZBfTl4MP8anfJdu0PWs4Vn/NmZnqhuRxQ6C7cjsmsCGPnPwoVyZVNqpIkqkyU2TycpEqtcXSoQK8WBrbX2OJyb+rDI2aWvonJ3GTIN3ZU1rG+Zq2gx4ldj8Im899NwlqVtxN/F7adXds+4+gdNapCTSFHfonzdlRVH5BgKV/knkYLaJIxk4Q38L+23oY5vg7t93ywuoH8BnAvPtdc Content-Type: text/plain; charset="utf-8" Linus, rtla fixes for 7.0: - Fix build failure when libbpf does not exist RTLA supports building without BPF libraries, but a recent change added a libbpf.h include outside of the BPF protection which caused build failures when libbpf was not installed. Please pull the latest trace-rtla-v7.0-rc5 tree, which can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git trace-rtla-v7.0-rc5 Tag SHA1: 816c62dbcd7d5f2e9f6caa1ce77a9b77c1b20014 Head SHA1: 2e8b1a1d12ae3338efeb1c3de3eb4e9324b87a28 Tomas Glozar (1): rtla: Fix build without libbpf header ---- tools/tracing/rtla/src/timerlat_bpf.h | 1 - 1 file changed, 1 deletion(-) --------------------------- commit 2e8b1a1d12ae3338efeb1c3de3eb4e9324b87a28 Author: Tomas Glozar Date: Mon Mar 30 11:12:07 2026 +0200 rtla: Fix build without libbpf header =20 rtla supports building without libbpf. However, BPF actions patchset [1] adds an include of bpf/libbpf.h into timerlat_bpf.h, which breaks build on systems that don't have libbpf headers installed. =20 This is a leftover from a draft version of the patchset where timerlat_bpf_set_action() (which takes a struct bpf_program * argument) was defined in the header. timerlat_bpf.c already includes bpf/libbpf.h via timerlat.skel.h when libbpf is present. =20 Remove the redundant include to fix build on systems without libbpf headers. =20 [1] https://lore.kernel.org/linux-trace-kernel/20251126144205.331954-1-= tglozar@redhat.com/T/ =20 Cc: John Kacur Cc: Luis Goncalves Cc: Crystal Wood Cc: Costa Shulyupin Link: https://patch.msgid.link/20260330091207.16184-1-tglozar@redhat.com Reported-by: Steven Rostedt (Google) Closes: https://lore.kernel.org/linux-trace-kernel/20260329122202.65a8b= 575@robin/ Fixes: 8cd0f08ac72e ("rtla/timerlat: Support tail call from BPF program= ") Signed-off-by: Tomas Glozar Reviewed-by: Wander Lairson Costa Signed-off-by: Steven Rostedt (Google) diff --git a/tools/tracing/rtla/src/timerlat_bpf.h b/tools/tracing/rtla/src= /timerlat_bpf.h index 169abeaf4363..f7c5675737fe 100644 --- a/tools/tracing/rtla/src/timerlat_bpf.h +++ b/tools/tracing/rtla/src/timerlat_bpf.h @@ -12,7 +12,6 @@ enum summary_field { }; =20 #ifndef __bpf__ -#include #ifdef HAVE_BPF_SKEL int timerlat_bpf_init(struct timerlat_params *params); int timerlat_bpf_attach(void);