[PATCH 1/2] add support for New bpf command: BPF_ENABLE_STATS

Dmitry V. Levin ldv at strace.io
Sat Mar 18 12:15:21 UTC 2023


On Sat, Mar 04, 2023 at 07:50:49PM -0800, bigjr-mkkong wrote:
> From: bigjr-mkkong <anybody-else at outlook.com>
> 
> ---
> I plan to apply for Gsoc2023 and this is my micro project.
> 
>  src/bpf.c                | 8 ++++++++
>  src/bpf_attr.h           | 8 ++++++++
>  src/xlat/bpf_commands.in | 1 +
>  tests/bpf.c              | 8 ++++++++
>  4 files changed, 25 insertions(+)

Apparently, your patch doesn't apply:

$ git am bigjr-mkkong/BPF_ENABLE_STATS
Applying: add support for New bpf command: BPF_ENABLE_STATS
error: corrupt patch at line 27
Patch failed at 0001 add support for New bpf command: BPF_ENABLE_STATS
hint: Use 'git am --show-current-patch=diff' to see the failed patch


-- 
ldv


More information about the Strace-devel mailing list