* ss: support for BPF sk local storage
@ 2023-08-16 15:39 Quentin Deslandes
0 siblings, 0 replies; 4+ messages in thread
From: Quentin Deslandes @ 2023-08-16 15:39 UTC (permalink / raw)
To: netdev
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* ss: support for BPF sk local storage
@ 2023-08-23 13:55 Quentin Deslandes
2023-08-24 3:33 ` David Ahern
0 siblings, 1 reply; 4+ messages in thread
From: Quentin Deslandes @ 2023-08-23 13:55 UTC (permalink / raw)
To: netdev, dsahern, stephen
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ss: support for BPF sk local storage
2023-08-23 13:55 ss: support for BPF sk local storage Quentin Deslandes
@ 2023-08-24 3:33 ` David Ahern
2023-08-24 5:37 ` Martin KaFai Lau
0 siblings, 1 reply; 4+ messages in thread
From: David Ahern @ 2023-08-24 3:33 UTC (permalink / raw)
To: Quentin Deslandes, netdev, stephen, Martin KaFai Lau
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ss: support for BPF sk local storage
2023-08-24 3:33 ` David Ahern
@ 2023-08-24 5:37 ` Martin KaFai Lau
0 siblings, 0 replies; 4+ messages in thread
From: Martin KaFai Lau @ 2023-08-24 5:37 UTC (permalink / raw)
To: David Ahern; +Cc: Quentin Deslandes, netdev, stephen, Martin KaFai Lau
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-08-24 5:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-23 13:55 ss: support for BPF sk local storage Quentin Deslandes
2023-08-24 3:33 ` David Ahern
2023-08-24 5:37 ` Martin KaFai Lau
-- strict thread matches above, loose matches on Subject: below --
2023-08-16 15:39 Quentin Deslandes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).