Re: [PATCH 10/11] perf tool: give user better message if precise is not supported

2012-07-21 Thread David Ahern
On 7/21/12 4:40 AM, Namhyung Kim wrote: The name 'PEBS' is intel-specific, so shouldn't we try to avoid using it directly? How about this: Precise event sampling is not supported. Try removing 'p' modifier Your right. should keep the response consistent with the documentation which is ge

Re: [PATCH 10/11] perf tool: give user better message if precise is not supported

2012-07-21 Thread Namhyung Kim
Hi, David On Fri, 20 Jul 2012 17:25:55 -0600, David Ahern wrote: > If the PEBS is not supported (e.g., a VM) and the precise modifier is > set the user is given a confusing error message: > > $ perf top -e cycles:p > > The sys_perf_event_open() syscall returned with 95 (Operation not > suppor