Re: [PATCH bpf-next 2/4] selftests/bpf: add non-BPF_LSM test for task local storage

From: Song Liu
Date: Mon Jan 11 2021 - 19:55:20 EST




> On Jan 11, 2021, at 9:44 AM, KP Singh <kpsingh@xxxxxxxxxx> wrote:
>
> On Mon, Jan 11, 2021 at 6:31 PM Yonghong Song <yhs@xxxxxx> wrote:
>>
>>
>>
>> On 1/8/21 3:19 PM, Song Liu wrote:
>>> Task local storage is enabled for tracing programs. Add a test for it
>>> without CONFIG_BPF_LSM.
>
> Can you also explain what the test does in the commit log?
>
> It would also be nicer to have a somewhat more realistic selftest which
> represents a simple tracing + task local storage use case.

Let me try to make this more realistic.

Thanks,
Song

[...]