[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130722150506.GC2157@ghostprotocols.net>
Date: Mon, 22 Jul 2013 12:05:06 -0300
From: Arnaldo Carvalho de Melo <acme@...stprotocols.net>
To: David Ahern <dsahern@...il.com>
Cc: linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...nel.org>,
Frederic Weisbecker <fweisbec@...il.com>,
Peter Zijlstra <peterz@...radead.org>,
Jiri Olsa <jolsa@...hat.com>
Subject: Re: [PATCH] perf record/top: handle ENODEV on default cycles event
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
--
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