Re: [PATCH] compiler-clang: remove version check for BPF Tracing

From: Song Liu
Date: Wed Nov 04 2020 - 19:26:27 EST




> On Nov 4, 2020, at 12:33 PM, Jarkko Sakkinen <jarkko@xxxxxxxxxx> wrote:
>
> On Wed, Nov 04, 2020 at 11:10:51AM -0800, Nick Desaulniers wrote:
>> bpftrace parses the kernel headers and uses Clang under the hood. Remove
>> the version check when __BPF_TRACING__ is defined (as bpftrace does) so
>> that this tool can continue to parse kernel headers, even with older
>> clang sources.
>>
>> Cc: <stable@xxxxxxxxxxxxxxx>
>> Fixes: commit 1f7a44f63e6c ("compiler-clang: add build check for clang 10.0.1")
>> Reported-by: Chen Yu <yu.chen.surf@xxxxxxxxx>
>> Reported-by: Jarkko Sakkinen <jarkko@xxxxxxxxxx>
>> Signed-off-by: Nick Desaulniers <ndesaulniers@xxxxxxxxxx>
>> ---
>
> Thank you, resolved my issue.
>
> Acked-by: Jarkko Sakkinen <jarkko@xxxxxxxxxx>
> Tested-by: Jarkko Sakkinen <jarkko@xxxxxxxxxx>

Acked-by: Song Liu <songliubraving@xxxxxx>