From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-186.mta0.migadu.com (out-186.mta0.migadu.com [91.218.175.186]) (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 22ADF7E4 for ; Fri, 15 Dec 2023 01:59:22 +0000 (UTC) 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="AeldpVZq" Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1702605561; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Pg/7sdWQn9efhIXM5pI6MGJhm8+O5D3sVtRGM6gorT4=; b=AeldpVZq5tLyM5uHhsH9jjKs5Wprt80CpzUb0P4Zl00B7++mXtjeC5j+oHpASEiKb4znp7 3Y1xF9h99m7zBAYhlVI7/5otNwusiqDwWz6xnkRN/D7bpSlWXvHALe9/MOfqWxmJuJf1i6 MvecMAIog5a+HQQthbY4KKq/2aaFY7k= Date: Thu, 14 Dec 2023 17:59:13 -0800 Precedence: bulk X-Mailing-List: bpf@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH bpf-next v13 02/14] bpf: get type information with BPF_ID_LIST Content-Language: en-US To: thinker.li@gmail.com Cc: sinquersw@gmail.com, kuifeng@meta.com, bpf@vger.kernel.org, ast@kernel.org, song@kernel.org, kernel-team@meta.com, andrii@kernel.org, drosen@google.com References: <20231209002709.535966-1-thinker.li@gmail.com> <20231209002709.535966-3-thinker.li@gmail.com> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Martin KaFai Lau In-Reply-To: <20231209002709.535966-3-thinker.li@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT On 12/8/23 4:26 PM, thinker.li@gmail.com wrote: > From: Kui-Feng Lee > > Get ready to remove bpf_struct_ops_init() in the future. By using > BPF_ID_LIST, it is possible to gather type information while building s/BPF_ID_LIST/BTF_ID_LIST. The same for the patch subject. > +BTF_ID_LIST(st_ops_ids) > +BTF_ID(struct, module)