Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758918AbaJ3JGd (ORCPT ); Thu, 30 Oct 2014 05:06:33 -0400 Received: from mail-qa0-f42.google.com ([209.85.216.42]:43188 "EHLO mail-qa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758311AbaJ3JG3 (ORCPT ); Thu, 30 Oct 2014 05:06:29 -0400 MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 30 Oct 2014 10:06:28 +0100 Message-ID: Subject: Re: Tool to match kernel C file to CONFIG symbol From: Peter Senna Tschudin To: Julia Lawall Cc: "Luis R. Rodriguez" , "linux-kernel@vger.kernel.org" , "backports@vger.kernel.org" , stefan.hengelein@fau.de, Valentin Rothberg Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 wrote: > > > On Wed, 29 Oct 2014, Luis R. Rodriguez wrote: > >> On Wed, Oct 29, 2014 at 4:15 PM, Luis R. Rodriguez >> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/