Re: Tool to match kernel C file to CONFIG symbol

From: Peter Senna Tschudin
Date: Thu Oct 30 2014 - 05:06:39 EST


I have a dirty and ugly Perl script that return source files for a
given set of Kconfig symbols:

https://gist.github.com/petersenna/6329591

On Thu, Oct 30, 2014 at 7:16 AM, Julia Lawall <julia.lawall@xxxxxxx> wrote:
>
>
> 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



--
Peter
--
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/