From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dl1-f44.google.com (mail-dl1-f44.google.com [74.125.82.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F2DD8221739 for ; Fri, 21 Nov 2025 00:20:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763684441; cv=none; b=LRDGufmnjF7uyaarQiZW5MMTDLIEiKaKp325KKk6xWfKgQg3Wv23buX+JTbbU5xxTfLAwRIjlLuUKCWngwFhKWa1t+chYepviYa6fetec/qUxHJkF5oQNsl63FtMF2r76sGwDjcQigzOXVx8DUtr93XdiZfAUDHpN8xFEzXDVto= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763684441; c=relaxed/simple; bh=pa0em9G0vZiSztmaArfibgBvHukaXa3f+6mDgP2ktHU=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=DVNR20BFTY9/gjO+JOto4AzIAwLRXTfsxdLeU2eCXRzjb4cLOKy/ROW+AkwJxYJ0AvclmQ0e1eQ9NXZ4W1NXfWlBqbC46Ii1UybkP4cDV1s13bt7eo+lpKkZfMH/dWkUPnFtLqZNmTxS2NP/avcosx1qFDu5QOZKuAHcny7n+xg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=it2hohtA; arc=none smtp.client-ip=74.125.82.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="it2hohtA" Received: by mail-dl1-f44.google.com with SMTP id a92af1059eb24-11b6bc976d6so2285953c88.0 for ; Thu, 20 Nov 2025 16:20:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1763684439; x=1764289239; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=pa0em9G0vZiSztmaArfibgBvHukaXa3f+6mDgP2ktHU=; b=it2hohtABLcCayXelOtlcq6C0s5eSHBGc40uOgdBwgio+z9CiCuOJ+wL/sdvTUis/I lQ/ufx0MjZlAVPVwAHrBJaLFp8xt39/NRfOV9YVOfLOI6S5jXHRExc+lYeM0W3tmq8LQ 5YBBJ/fCZvPI3ujIJRv1fI36rZtXlHM5BfySi2v5dAkDpqTgoQ8qU3wRPgErOts0A75O DLKftHuM+UhgzmpNSO310nDiGV/doW9Bh3drLECdRAGD1NonJS5Ay7a3mpMUTCKPqVip rjGKMM+/I3oXS2LNgR8rmEuMqOPloUcGIVRwTZmkUWqOxWLov9rtT2JygkSjEqLS7jWh FftA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763684439; x=1764289239; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=pa0em9G0vZiSztmaArfibgBvHukaXa3f+6mDgP2ktHU=; b=dfnp+6Q/d+JtJRKt2RweBk10ISEdnRocjF47EuLS//a0p97QAhjVBw1gxYJzEfqyrF gMcZyvyB151UA43ZrgTanuIxaL3CUtco8qH99xZRuZl476aDp5mG3omc+StjcEvRMipI NWMM+5oFQPNKo4h4RTyIGoT5Zjrgrr1CdBT0q/0mmO/TkQ8TvSb95UxWopKN+JACfjwr nlJrX/EmgpZ+TjJP2FASQD+Whyn0/MzT1yxPH8Z9xEDk0aOv8LtVsXplEL96bCjraU7f RJY08OAauLoH7dUNyhUtkuFe0GnitbINot0yi8Wi79rv3vRqvBPYtgllqiPiGKfEqCUQ Q6HQ== X-Forwarded-Encrypted: i=1; AJvYcCVUKr0mKi/KZ3KoIhvGV8VQAdMaqBzyHoZzwx0++H+9ISNy3tT4f2qrpvIERyQnxTlpnz/P+G8u8H6Lvmk=@vger.kernel.org X-Gm-Message-State: AOJu0YyK2TpS8AAlpsphQFoJ/CSV6frtMM2XeN6Kn6ic/qcdg0EpeaTS 4Kgp3pkDHgepF3G0YcaVyAAPOPab/bAp2duwD8EbcKX0UNM80USUAykK X-Gm-Gg: ASbGncsJSBSI4YAnm8ZTRweuSB5LvqMpvWs7tE5ovINsFiy/4IW6E9g2m0D3W6fCLgF cNncgH4kjRRN2yEQqLQkBxqzOnxaJd9NAXdvmVaFtN9hErwptjFAPW0+18sQ9Mb+QAAp8sKSGOu MM1N8m/6I2/zRjFoGVmjt4rR73b0J+E9m28Y1srcQZIGJU7674nMZfKemdWfnfq5pNinDfQUk5N EcC+/AiTdOUqcYJcm+qqDLQNHAe+325Sh1D6t/SNWXfdVUZc2hTWuuFiliQfmQzTC9Kwq5+8UsR WdAa5wHtT8aIsiuIkHVGdRKnqosXwA7EpBXWxDINP1Redorc5dNzOPFK+mFBQjApD9nutyAm6OM D+3CddibBd5X2qX3PA+zZdbHpXnNuN9o7W9ZymLf7+ilmxiHnMcDAtswF97z+7iDyx1otUHWR8O 00iNTpNxhf5PaSH47a6/BlADrwo0to8lKwgvc= X-Google-Smtp-Source: AGHT+IGj3YxopiG+RX3C5bYzDknAbt7AWVcEA+p28I+i1HWsIDd5eIEdnw8SM5lbfGEvfx+UocKcjg== X-Received: by 2002:a05:7022:ec17:b0:11b:9386:a382 with SMTP id a92af1059eb24-11c9cabc4f0mr194937c88.21.1763684438760; Thu, 20 Nov 2025 16:20:38 -0800 (PST) Received: from ?IPv6:2a03:83e0:115c:1:6e69:e358:27f9:ac0? ([2620:10d:c090:500::5:61f3]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-11c93e5674csm16791755c88.8.2025.11.20.16.20.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Nov 2025 16:20:38 -0800 (PST) Message-ID: <0cff721f227c29d62980dbfd2ac6bfbb3e34c7ba.camel@gmail.com> Subject: Re: [RFC PATCH v7 2/7] selftests/bpf: Add test cases for btf__permute functionality From: Eduard Zingerman To: Donglin Peng , ast@kernel.org, andrii.nakryiko@gmail.com Cc: zhangxiaoqin@xiaomi.com, linux-kernel@vger.kernel.org, bpf@vger.kernel.org, Donglin Peng , Alan Maguire , Song Liu Date: Thu, 20 Nov 2025 16:20:36 -0800 In-Reply-To: <20251119031531.1817099-3-dolinux.peng@gmail.com> References: <20251119031531.1817099-1-dolinux.peng@gmail.com> <20251119031531.1817099-3-dolinux.peng@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.2 (3.56.2-2.fc42) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Wed, 2025-11-19 at 11:15 +0800, Donglin Peng wrote: > From: Donglin Peng >=20 > This patch introduces test cases for the btf__permute function to ensure > it works correctly with both base BTF and split BTF scenarios. >=20 > The test suite includes: > - test_permute_base: Validates permutation on base BTF > - test_permute_split: Tests permutation on split BTF > - test_permute_drop_base: Validates type dropping on base BTF > - test_permute_drop_split: Tests type dropping on split BTF > - test_permute_drop_dedup: Tests type dropping and deduping >=20 > Cc: Eduard Zingerman > Cc: Alexei Starovoitov > Cc: Andrii Nakryiko > Cc: Alan Maguire > Cc: Song Liu > Cc: Xiaoqin Zhang > Signed-off-by: Donglin Peng > --- Do we have an infrastructure for .btf_ext tests? [...]