[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <63e7a517-7918-d05a-c116-75395de5cdee@linux.dev>
Date: Wed, 23 Aug 2023 22:37:41 -0700
From: Martin KaFai Lau <martin.lau@...ux.dev>
To: David Ahern <dsahern@...nel.org>
Cc: Quentin Deslandes <qde@...cy.de>, netdev@...r.kernel.org,
stephen@...workplumber.org, Martin KaFai Lau <kafai@...com>
Subject: Re: ss: support for BPF sk local storage
On 8/23/23 8:33 PM, David Ahern wrote:
> On 8/23/23 6:55 AM, Quentin Deslandes wrote:
>> Hi,
>>
>> Could it be possible to print BPF sk local storage data from ss?
>> Reading the original patch [1], it appears to have been thought
>> out this way, and it seems (to me) that it would fit ss' purpose.
>>
>> Please correct me if my assumptions are wrong.
>>
>> 1. https://lore.kernel.org/netdev/20190426233938.1330361-1-kafai@fb.com/
>>
>> Regards,
>> Quentin Deslandes
>
> Adding Martin, author of the patches.
>
> I have not looked into the details, but if the intent is ss style
> monitoring then please send a patch.
It will be great if ss can print out the bpf sk local storage data of a socket.
It requires some libbpf API (like pretty printing data with btf), so this
storage printing probably should only be supported when a more recent libbpf
with those API is available.
Powered by blists - more mailing lists