From: "Robert P. J. Day" <rpjday@crashcourse.ca>
To: Kamil Dudka <kdudka@redhat.com>
Cc: sparse <linux-sparse@vger.kernel.org>
Subject: Re: Detect unused header files?
Date: Thu, 6 Aug 2009 08:15:17 -0400 (EDT) [thread overview]
Message-ID: <alpine.LFD.2.00.0908060813460.8569@localhost> (raw)
In-Reply-To: <200908061416.46210.kdudka@redhat.com>
On Thu, 6 Aug 2009, Kamil Dudka wrote:
> On Thu August 6 2009 13:17:02 Robert P. J. Day wrote:
> > On Thu, 6 Aug 2009, Marko Kreen wrote:
> > > On 8/5/09, Christopher Li <sparse@chrisli.org> wrote:
> > > > On Thu, Jul 30, 2009 at 1:36 PM, Sam Ravnborg<sam@ravnborg.org> wrote:
> > > > > Thanks for hacking this up!
> > > > >
> > > > > I will try it out during the weekend as work permits. Busy...
> > > >
> > > > Any updates?
> > > >
> > > > It seems that top level header file including sub component
> > > > header file is very common practice, especially on big header
> > > > file. From the header file itself is not sufficient to determine
> > > > the included header file is a sub component or some thing
> > > > new.
> > >
> > > Could we have a flag to track top-level headers only? So that
> > > anything declared in sub-headers will be registered also under top
> > > header file? This seems more useful scanning mode for regular
> > > user-space code.
> >
> > has anyone tried cscout?
> >
> > http://www.spinellis.gr/cscout/
>
> The homepage looks interesting, but where can I download its sources?
http://www.spinellis.gr/cscout/download.html
i grabbed a copy of it a few days ago, i just haven't had time to set
it up. i mention it since one of the things it claims to do is -- ta
da! -- identify unused header files. but it appears to take some
careful configuration. i'd like to see someone config it to scan the
current source tree, i just don't think i have the time at the moment.
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Annoying Kernel Pedantry.
Web page: http://crashcourse.ca
Twitter: http://twitter.com/rpjday
"Kernel Newbie Corner" column @ linux.com: http://cli.gs/WG6WYX
========================================================================
next prev parent reply other threads:[~2009-08-06 12:18 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-28 18:18 Detect unused header files? Sam Ravnborg
2009-07-28 20:36 ` Christopher Li
2009-07-28 20:36 ` Robert P. J. Day
2009-07-28 20:49 ` Christopher Li
2009-07-28 21:04 ` Sam Ravnborg
2009-07-28 21:38 ` Christopher Li
2009-07-30 10:55 ` Christopher Li
2009-07-30 11:12 ` Derek M Jones
2009-07-30 20:36 ` Sam Ravnborg
2009-08-04 21:49 ` Christopher Li
2009-08-05 6:12 ` Sam Ravnborg
2009-08-06 11:14 ` Marko Kreen
2009-08-06 11:17 ` Robert P. J. Day
2009-08-06 12:16 ` Kamil Dudka
2009-08-06 12:15 ` Robert P. J. Day [this message]
2009-08-06 13:01 ` Kamil Dudka
2009-08-06 13:26 ` Michael Stefaniuc
2009-08-06 14:09 ` Robert P. J. Day
2009-08-06 17:39 ` Christopher Li
2009-07-28 20:58 ` Sam Ravnborg
2009-07-28 21:21 ` Christopher Li
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LFD.2.00.0908060813460.8569@localhost \
--to=rpjday@crashcourse.ca \
--cc=kdudka@redhat.com \
--cc=linux-sparse@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.