[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191108.134349.180144614362725565.davem@davemloft.net>
Date: Fri, 08 Nov 2019 13:43:49 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: toke@...hat.com
Cc: daniel@...earbox.net, ast@...nel.org, kafai@...com,
songliubraving@...com, yhs@...com, brouer@...hat.com,
andrii.nakryiko@...il.com, netdev@...r.kernel.org,
bpf@...r.kernel.org
Subject: Re: [PATCH bpf-next v2 6/6] libbpf: Add getter for program size
From: Toke Høiland-Jørgensen <toke@...hat.com>
Date: Fri, 08 Nov 2019 22:33:11 +0100
> From: Toke Høiland-Jørgensen <toke@...hat.com>
>
> This adds a new getter for the BPF program size (in bytes). This is useful
> for a caller that is trying to predict how much memory will be locked by
> loading a BPF object into the kernel.
>
> Acked-by: Song Liu <songliubraving@...com>
> Signed-off-by: Toke Høiland-Jørgensen <toke@...hat.com>
Acked-by: David S. Miller <davem@...emloft.net>
Powered by blists - more mailing lists