From: Peter Zijlstra <peterz@infradead.org>
To: Gui Jianfeng <guijianfeng@cn.fujitsu.com>
Cc: "Zhang, Yanmin" <yanmin_zhang@linux.intel.com>,
acme@ghostprotocols.net, mingo@elte.hu,
linux kernel mailing list <linux-kernel@vger.kernel.org>,
paulus@samba.org
Subject: Re: [PATCH v2] perf: close the opened directories.
Date: Thu, 24 Jun 2010 09:21:34 +0200 [thread overview]
Message-ID: <1277364094.1875.848.camel@laptop> (raw)
In-Reply-To: <4C230362.5080704@cn.fujitsu.com>
On Thu, 2010-06-24 at 15:04 +0800, Gui Jianfeng wrote:
> When I ran "perf kvm ... top", I encountered the following error output.
>
> Error: perfcounter syscall returned with -1 (Too many open files)
>
> Fatal: No CONFIG_PERF_EVENTS=y kernel support configured?
>
> Looking into perf, I found perf opens too many direcotries at initialization
> time, but forgets to close them. Here is the fix.
>
> Signef-off-by: Gui Jianfeng <guijianfeng@cn.fujitsu.com>
Looks good to me, Arnaldo, will you pick this up?
next prev parent reply other threads:[~2010-06-24 7:21 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-19 3:54 [PATCH] perf: close the opened directories Gui Jianfeng
2010-06-24 6:16 ` Gui Jianfeng
2010-06-24 6:29 ` Zhang, Yanmin
2010-06-24 6:49 ` Gui Jianfeng
2010-06-24 7:04 ` [PATCH v2] " Gui Jianfeng
2010-06-24 7:21 ` Peter Zijlstra [this message]
2010-06-24 13:52 ` Arnaldo Carvalho de Melo
2010-07-16 7:37 ` Gui Jianfeng
2010-07-16 15:42 ` Arnaldo Carvalho de Melo
2010-07-17 11:11 ` [tip:perf/urgent] perf symbols: Fix directory descriptor leaking tip-bot for Gui Jianfeng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1277364094.1875.848.camel@laptop \
--to=peterz@infradead.org \
--cc=acme@ghostprotocols.net \
--cc=guijianfeng@cn.fujitsu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=paulus@samba.org \
--cc=yanmin_zhang@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox