From nobody Sun Feb 8 09:30:49 2026 Received: from out-172.mta0.migadu.com (out-172.mta0.migadu.com [91.218.175.172]) (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 10CF818A6A8; Thu, 18 Dec 2025 00:34:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766018058; cv=none; b=pet5utYXdw2eCswYI9ZF42u0pOxwhHgzRV+3nCAoWpPQ5FEjGi2XrvzqSE8MyxZazOysTj9/suKCzsJydnp/o2z8+YDKX/hCm5mzHYFgQKcMG9HmrN8uxZPM5fwpdiw3+YhJxYRFeNlOLY//qaIg9lzq5d0CKEnCctB7GBSFWIA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766018058; c=relaxed/simple; bh=/9EOX2T4PsSLKlslCku6owIx615Wd85jFXGLADC8i+E=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=kVdlzeowGwCix+mK45IdI3urf/XOeRk/wEH04tDTXsqAiytPvMpv/K6KF74w1DLjrPsxh3ataUAsik5JAvIturV1eUCelBNEN0hPRKqYG09Cam9OBsWq9IUbOuh8ccklLThwePTlWHxawUBnzr/OL24saE+Cdf7sxlr1fm7Mlfw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=WVseiO5R; arc=none smtp.client-ip=91.218.175.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="WVseiO5R" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1766018050; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eMrhGEo8g6IdHWJcU5PThGSVr6JdXvAM3OyddrEgcdU=; b=WVseiO5RhleFmLXdssEXVGC7tCRvtdMsKmDf6c5NLNq7NzfwT5yg4g5pWQ1zvCHpxXJKnA UU1UcFscDA9I7amKDNmgi1RdGUdL/ImSB7TMqOFLJCr+yHl1i3m4Y0uzDGVB6i5BR2qNsh 8w1rEzk+Iodv3D9ZCtL3BVHt5hsTlho= From: Ihor Solodrai To: Alan Maguire , Alexei Starovoitov , Andrea Righi , Andrew Morton , Andrii Nakryiko , Bill Wendling , Changwoo Min , Daniel Borkmann , David Vernet , Donglin Peng , Eduard Zingerman , Hao Luo , Jiri Olsa , John Fastabend , Jonathan Corbet , Justin Stitt , KP Singh , Martin KaFai Lau , Nathan Chancellor , Nick Desaulniers , Nicolas Schier , Shuah Khan , Song Liu , Stanislav Fomichev , Tejun Heo , Yonghong Song Cc: bpf@vger.kernel.org, dwarves@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, sched-ext@lists.linux.dev Subject: [PATCH bpf-next v4 1/8] resolve_btfids: Rename object btf field to btf_path Date: Wed, 17 Dec 2025 16:33:07 -0800 Message-ID: <20251218003314.260269-2-ihor.solodrai@linux.dev> In-Reply-To: <20251218003314.260269-1-ihor.solodrai@linux.dev> References: <20251218003314.260269-1-ihor.solodrai@linux.dev> 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-Migadu-Flow: FLOW_OUT Content-Type: text/plain; charset="utf-8" Rename the member of `struct object` holding the path to BTF data if provided via --btf arg. `btf_path` is less ambiguous. Acked-by: Eduard Zingerman Signed-off-by: Ihor Solodrai --- tools/bpf/resolve_btfids/main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/bpf/resolve_btfids/main.c b/tools/bpf/resolve_btfids/mai= n.c index d47191c6e55e..164f0c941f04 100644 --- a/tools/bpf/resolve_btfids/main.c +++ b/tools/bpf/resolve_btfids/main.c @@ -113,7 +113,7 @@ struct btf_id { =20 struct object { const char *path; - const char *btf; + const char *btf_path; const char *base_btf_path; =20 struct { @@ -550,11 +550,11 @@ static int symbols_resolve(struct object *obj) } } =20 - btf =3D btf__parse_split(obj->btf ?: obj->path, base_btf); + btf =3D btf__parse_split(obj->btf_path ?: obj->path, base_btf); err =3D libbpf_get_error(btf); if (err) { pr_err("FAILED: load BTF from %s: %s\n", - obj->btf ?: obj->path, strerror(-err)); + obj->btf_path ?: obj->path, strerror(-err)); goto out; } =20 @@ -790,8 +790,8 @@ int main(int argc, const char **argv) struct option btfid_options[] =3D { OPT_INCR('v', "verbose", &verbose, "be more verbose (show errors, etc)"), - OPT_STRING(0, "btf", &obj.btf, "BTF data", - "BTF data"), + OPT_STRING(0, "btf", &obj.btf_path, "file", + "path to a file with input BTF data"), OPT_STRING('b', "btf_base", &obj.base_btf_path, "file", "path of file providing base BTF"), OPT_BOOLEAN(0, "fatal_warnings", &fatal_warnings, --=20 2.52.0