[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200907201549.30870.remi.denis-courmont@nokia.com>
Date: Mon, 20 Jul 2009 15:49:30 +0300
From: "Rémi Denis-Courmont"
<remi.denis-courmont@...ia.com>
To: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH] Phonet: sockets list through proc_fs
On Monday 20 July 2009 15:07:30 ext Marcel Holtmann wrote:
> Hi Dave,
>
> > > On Monday 20 July 2009 13:21:01 ext Marcel Holtmann wrote:
> > >> > It's just like most network protocols exposing their sockets list in
> > >> > /proc/net. Debugging/monitoring indeed.
> > >>
> > >> I think that for new protocols, we should not do this anymore and just
> > >> use debugfs. Since that is exactly its job.
> > >
> > > Requiring debugfs for something like 'netstat' sounds restrictive to
> > > me...
> >
> > Me too.
>
> hold on, what has netstat to do with Phonet support?
First, I said "*like* netstat". Second, *net*stat has at least as much to do
with Pho*net* than it has with Unix sockets. I'm interested in monitoring
userland usage of Phonet sockets, not so much in debugging the kernel-mode
Phonet stack. I am not convinced that debugfs is the right tool at all here -
regardless whether we extend netstat or write a Phonet-specific tool.
> Does netstat now support Phonet or what are we trying to achieve here?
There is currently no Phonet socket monitoring hook. I guess you refer to
backward compatibility, which -I would agree- is a non-issue.
--
Rémi Denis-Courmont
Nokia Devices R&D, Maemo Software, Helsinki
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists