[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAADnVQJi9jiB9M7D8vbVAY3T+kb1hFgF373PdGQKtLqPs=5p=Q@mail.gmail.com>
Date: Fri, 1 May 2020 10:56:31 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Song Liu <songliubraving@...com>
Cc: bpf <bpf@...r.kernel.org>,
Network Development <netdev@...r.kernel.org>,
Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Kernel Team <kernel-team@...com>
Subject: Re: [PATCH v9 bpf-next 0/3] bpf: sharing bpf runtime stats with
On Thu, Apr 30, 2020 at 12:15 AM Song Liu <songliubraving@...com> wrote:
>
> run_time_ns is a useful stats for BPF programs. However, it is gated by
> sysctl kernel.bpf_stats_enabled. When multiple user space tools are
> toggling kernl.bpf_stats_enabled at the same time, they may confuse each
> other.
>
> Solve this problem with a new BPF command BPF_ENABLE_STATS.
>
> Changes v8 => v9:
> 1. Clean up in selftest (Andrii).
> 2. Not using static variable in test program (Andrii).
Applied. Thanks
Powered by blists - more mailing lists