[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 07 Jul 2011 04:55:13 +0100
From: Ben Hutchings <ben@...adent.org.uk>
To: Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Paul Mackerras <paulus@...ba.org>, Ingo Molnar <mingo@...e.hu>,
Arnaldo Carvalho de Melo <acme@...stprotocols.net>
Cc: 632923@...s.debian.org, Christian Ohm <chr.ohm@....net>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: Bug#632923: linux-tools-2.6.39: perf tries to read ./config,
fails if it is not a perf config file
On Thu, 2011-07-07 at 04:45 +0200, Christian Ohm wrote:
> Package: linux-tools-2.6.39
> Version: 2.6.39-3
> Severity: normal
>
> Hello,
>
> When running perf, it looks for a config file in /etc/perfconfig,
> ~/.perfconfig, and ./config (according to strace). If ./config is not a
> perf configuration, it fails (or possibly does unexpected things). Since
> "config" is a quite generic name (I have 175 files with that name on my
> system) it would be nice if this is changed to e.g. ./.perfconfig.
This indeed seems like a misfeature.
Is perf supposed to be invoked in directories dedicated to its use? If
not, why should it expect a generically-named file to belong to it?
Ben.
--
Ben Hutchings
The most exhausting thing in life is being insincere. - Anne Morrow Lindberg
Download attachment "signature.asc" of type "application/pgp-signature" (829 bytes)
Powered by blists - more mailing lists