From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.82.72 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794446128; b=fzYr/wxDoPX2Q6ia2WpjuVWXDcIuegqfn2s/u6Bgg1y7ptrz/cbBzmOs0NHBpw23CLDx Gu3K9X0cBzglvUaNL0zRVc5JqAs/FEH0DGg1ADSeud1MrvNcEb8yRVHjYKQNRao9NAFVa 2GjBMsUxWRHzgYxgcWztIDQ43FdQyj/7yNLHcR5dSzLVpNTlw5Y2vEz7ZEpLGK1BLPn8C 9xvWxwj4QwJn+BwT9nuzjemcloVcMvVNV1sVPz3NTuKtiWO9PjZs2oAIuUMkBENH1jO1f rpzjMzx8Y8KXhDGqBJpQC6+73nJ52GK8vIMjO8hMMhoBSUt9/kfiTVdfd2p1nVXpC6w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794446128; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Received:Date:In-Reply-To: Mime-Version:References:X-Mailer:Message-ID:Subject:From:To:Cc: Content-Type; bh=4vMtlOYMUM7DqpBECZ2GpYW99dCeiETIH6lMWEaKB8A=; b=CS2lZ/AM3ZSMyxYMKZANnNUjn1GpKIbxn2k69tJMUhtFiwAZJLT4Bbq7cC/vmNBCaJ13 7H5Z6k+hFPSEr7kCOCJZ2T+3TCCFdTEkXqnoFsrPiyGqZJgcvD3TGtbyS2V8Lr/UcRUXI AzbRyNO3VV0Nm/EWoPIlvOChdS8Lt/f7iyjjnBVfEQVVvBlgQ/51s7Pq33LhrDfbtKYOV Non7zCjKzKzLF1ONrZC9wtszKHq+WNbMLakMBu4Z5PyVLmbKH45voyg4J9FWaXxFhMfXc wGOSYWcXW8nI+cKPvtfU5raD9r02ks+Sth9+JFwS9iHCdKcRSVN6Utt44MKeyNPhkjw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=google.com; spf=pass smtp.mailfrom=flex--irogers.bounces.google.com; dkim=pass header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=dL8uvWFo; arc=none smtp.remote-ip=74.125.82.72 Received: from mail-dl1-f72.google.com (mail-dl1-f72.google.com [74.125.82.72]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C55BF606A326 for ; Thu, 12 Nov 2026 01:15:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C55BF606A326 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--irogers.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=dL8uvWFo Received: by mail-dl1-f72.google.com with SMTP id a92af1059eb24-1b3b5b49cabso3463886c88.0 for ; Wed, 11 Nov 2026 17:15:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20260707; t=1794446127; x=1795050927; darn=vger.kernel.org; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:from:to:cc:subject:date:message-id:reply-to :content-type; bh=4vMtlOYMUM7DqpBECZ2GpYW99dCeiETIH6lMWEaKB8A=; b=dL8uvWFoFQ6nqr2SUdFOz7YbJ2zMHWkam13Z7mcHdH1XMs18faAqBuoJe87vYebzt5 zPi0oRDNKWvJOgzg64/D8/J3Ubzyv7Q742mQOwpID9G3ZOcrjhRjyKofLTQ3DsC0evhA fnIK4A0EEqm19VoI/6NK+aERl2rN0B7OgvEuWj7SaQ0X19zdAC8zyNYHHfqTuoG/dF53 Oc6OAejDjaoL7/OJKbNbIisS01u0SsIy3QoqFfJ86dBXyvawtooCdmBtz1S4wW/buhRM 2Rj4emqGky+/AWYjWgVNUohEj8oET5ztU5bvV6o3sOXlzCMfg5WFXXFA6IpHmxs8bo7i BpoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1794446127; x=1795050927; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=4vMtlOYMUM7DqpBECZ2GpYW99dCeiETIH6lMWEaKB8A=; b=RG9NzYGAd/1zzxomlXnrVwif1Xgo1tdrcL9rUsMCUleU1Zsm0udOO3Nj+ItkxQPyWr XjvfKyDBMkS8oj8HnaZcu/P9IDxHWl8kTt9LSdZzv5tu7IxI/KklroCcIwwH7cqlTDZ+ zaYeZwnc2LZ34IqWWnZe/p90RE9z5yCIHm+5023m7/SBYtnzZHh+kCaIX5z8JVvP/trs Herz3fDC/XOCBSG+0yVSnBkzhXmteO08LQ0zNMd5jbw5J5wFXk7W9magDWqXKnWGNjH2 5bYTZDQ3qjfJzx1OWyD+yuyMxJNU38yaOiIS1B+huZTe1nzyJjzet5H77P10QUtrWZxR queA== X-Forwarded-Encrypted: i=1; AL+hErFz6+jJ5JG41tdMJMs4GEV6+u/v364hW6fE2hTLG03D99EiRhqnmaX6UVbqnUaKnxQlauonq5xn0iUSZ3s6AT5c@vger.kernel.org X-Gm-Message-State: APuU4Z89+C5d87IXPf4sDCRQgOzf/5VUktRXfNuaIms/TBLiVYj4PQ1J O8qmGwwox4/57ADefue8MjnY514fzT6Yw4Q7rxtCcBoeVyA+PmNZgZsZ8HydxYn7jnb9qAHi7Vq +A6WXEbLEug== X-Received: from dldyr7-n1.prod.google.com ([2002:a05:701b:4507:10b0:1a7:5148:9561]) (user=irogers job=prod-delivery.src-stubby-dispatcher) by 2002:a05:701b:2616:b0:16a:c6f2:60c2 with SMTP id a92af1059eb24-1b3c02f37c9mr2938515c88.12.1794446126283; Wed, 11 Nov 2026 17:15:26 -0800 (PST) Date: Wed, 11 Nov 2026 17:15:11 -0800 In-Reply-To: <20261112011514.4032822-1-irogers@google.com> X-Mailing-List: linux-perf-users@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 References: <20261022204627.1813821-1-irogers@google.com> <20261112011514.4032822-1-irogers@google.com> X-Mailer: git-send-email 2.56.0.567.gdb80ae8cd5-goog Message-ID: <20261112011514.4032822-3-irogers@google.com> Subject: [PATCH v4 2/5] perf build: Sync bpf_skel.mak get_sys_includes with selftests/bpf From: Ian Rogers To: irogers@google.com, acme@kernel.org, namhyung@kernel.org Cc: adrian.hunter@intel.com, andrii@kernel.org, cupertino.miranda@oracle.com, eddyz87@gmail.com, james.clark@linaro.org, jolsa@kernel.org, jose.marchesi@oracle.com, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, mingo@redhat.com, peterz@infradead.org, yonghong.song@linux.dev Content-Type: text/plain; charset="UTF-8" Forward __loongarch_grlen as -D__BITS_PER_LONG and the MIPS ABI, size, and endianness macros in bpf_skel.mak's get_sys_includes, matching tools/testing/selftests/bpf/Makefile so system headers receive the expected architecture macros when compiling BPF skeletons. Signed-off-by: Ian Rogers --- tools/perf/bpf_skel.mak | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/perf/bpf_skel.mak b/tools/perf/bpf_skel.mak index f2559de39f96..60d104ec573d 100644 --- a/tools/perf/bpf_skel.mak +++ b/tools/perf/bpf_skel.mak @@ -22,7 +22,9 @@ bpf-skel-prepare: $(BPFTOOL) $(VMLINUX_H) define get_sys_includes $(shell $(1) $(2) -v -E - &1 \ | sed -n '/<...> search starts here:/,/End of search list./{ s| \(/.*\)|-idirafter \1|p }') \ -$(shell $(1) $(2) -dM -E -