[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110805173447.GC14925@ghostprotocols.net>
Date: Fri, 5 Aug 2011 14:34:47 -0300
From: Arnaldo Carvalho de Melo <acme@...stprotocols.net>
To: Jonathan Nieder <jrnieder@...il.com>
Cc: Ben Hutchings <ben@...adent.org.uk>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Paul Mackerras <paulus@...ba.org>, Ingo Molnar <mingo@...e.hu>,
632923@...s.debian.org, Christian Ohm <chr.ohm@....net>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] perf: do not look at ./config for configuration
Em Fri, Aug 05, 2011 at 06:58:38PM +0200, Jonathan Nieder escreveu:
> In addition to /etc/perfconfig and $HOME/.perfconfig, perf looks for
> configuration in the file ./config, imitating git which looks at
> $GIT_DIR/config. If ./config is not a perf configuration file, it
> fails, or worse, treats it as a configuration file and changes
> behavior in some unexpected way.
>
> "config" is not an unusual name for a file to be lying around and perf
> does not have a private directory dedicated for its own use, so let's
> just stop looking for configuration in the cwd. Callers needing
> context-sensitive configuration can use the PERF_CONFIG environment
> variable.
Thanks, I'll apply this one.
- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists