From: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
To: David Ahern <dsahern@gmail.com>
Cc: linux-kernel@vger.kernel.org, Ingo Molnar <mingo@kernel.org>,
Frederic Weisbecker <fweisbec@gmail.com>,
Peter Zijlstra <peterz@infradead.org>,
Jiri Olsa <jolsa@redhat.com>
Subject: Re: [PATCH] perf record/top: handle ENODEV on default cycles event
Date: Mon, 22 Jul 2013 12:05:06 -0300 [thread overview]
Message-ID: <20130722150506.GC2157@ghostprotocols.net> (raw)
In-Reply-To: <1374190079-28507-1-git-send-email-dsahern@gmail.com>
Em Thu, Jul 18, 2013 at 05:27:59PM -0600, David Ahern escreveu:
> Some systems (e.g., VMs on qemu-0.13 with the default vcpu model) report
> an unsupported CPU model:
>
> Performance Events: unsupported p6 CPU model 2 no PMU driver, software events only.
>
> Subsequent invocations of perf fail with:
>
> The sys_perf_event_open() syscall returned with 19 (No such device) for event (cycles).
> /bin/dmesg may provide additional information.
> No CONFIG_PERF_EVENTS=y kernel support configured?
>
> Add ENODEV to the list of errno's to fallback to cpu-clock.
Thanks, applied.
- Arnaldo
next prev parent reply other threads:[~2013-07-22 15:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-18 23:27 [PATCH] perf record/top: handle ENODEV on default cycles event David Ahern
2013-07-22 15:05 ` Arnaldo Carvalho de Melo [this message]
2013-07-23 7:46 ` [tip:perf/core] perf evsel: Handle " tip-bot for David Ahern
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=20130722150506.GC2157@ghostprotocols.net \
--to=acme@ghostprotocols.net \
--cc=dsahern@gmail.com \
--cc=fweisbec@gmail.com \
--cc=jolsa@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=peterz@infradead.org \
/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;
as well as URLs for NNTP newsgroup(s).