Re: Tool to match kernel C file to CONFIG symbol

From: Julia Lawall
Date: Thu Oct 30 2014 - 02:16:16 EST




On Wed, 29 Oct 2014, Luis R. Rodriguez wrote:

> On Wed, Oct 29, 2014 at 4:15 PM, Luis R. Rodriguez
> <mcgrof@xxxxxxxxxxxxxxxx> wrote:
> > Anyone familiar with a tool to match a specific C file to a respective
> > CONFIG symbol on the kernel? I'd prefer if its written in C or Python.
> > This should be easy to write if we don't have it yet.
>
> Peter, didn't you have such tool already?

I think that the Erlangen people can help you (added to CC).

I'm not sure which way you want to go: What config symbol will get my file
compiled, or if I turn on this config symbol, what files will I get. I
think that Stefan's Vampyr tool can help with the first.

julia
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/