Thanks for the quick review!
> On Sep 22, 2020, at 9:49 PM, John Fastabend wrote:
>
> Song Liu wrote:
>> This test runs test_run for raw_tracepoint program. The test covers ctx
>> input, retval output, and proper handling of cpu_plus field.
>>
>> Signed-off-by: Song Liu
>> ---
>
> [...]
>
>>
Song Liu wrote:
> This test runs test_run for raw_tracepoint program. The test covers ctx
> input, retval output, and proper handling of cpu_plus field.
>
> Signed-off-by: Song Liu
> ---
[...]
> +
> + test_attr.ctx_size_in = sizeof(args);
> + err = bpf_prog_test_run_xattr(&test_attr);
>
This test runs test_run for raw_tracepoint program. The test covers ctx
input, retval output, and proper handling of cpu_plus field.
Signed-off-by: Song Liu
---
.../bpf/prog_tests/raw_tp_test_run.c | 68 +++
.../bpf/progs/test_raw_tp_test_run.c | 26 +++
2 f