Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757384AbaJ3GQK (ORCPT ); Thu, 30 Oct 2014 02:16:10 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:52623 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750998AbaJ3GQI (ORCPT ); Thu, 30 Oct 2014 02:16:08 -0400 X-IronPort-AV: E=Sophos;i="5.07,284,1413237600"; d="scan'208";a="85340487" Date: Thu, 30 Oct 2014 07:16:03 +0100 (CET) From: Julia Lawall X-X-Sender: jll@localhost6.localdomain6 To: "Luis R. Rodriguez" cc: "linux-kernel@vger.kernel.org" , Peter Senna Tschudin , "backports@vger.kernel.org" , stefan.hengelein@fau.de, valentinrothberg@gmail.com Subject: Re: Tool to match kernel C file to CONFIG symbol In-Reply-To: Message-ID: References: User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 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/