lkml.org 
[lkml]   [2013]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 5/9] perf tools: Set maximum precise value for event 'p' modifier
On 5/9/13 7:32 AM, Jiri Olsa wrote:
> +static int precise_default(void)
> +{
> + int precise = perf_precise__get();
> + static int warned;
> +
> + /*
> + * Precise info not supported by by this kernel,
> + * set 1 as the precise value.
> + */
> + if (precise == -1)
> + precise = 1;
> +
> + /* PEBS is not supported here, display warning. */
> + if (precise == 0 && !warned++)
> + pr_warning("warning: no precise support, "
> + "using non-precise event(s)\n");

WARN_ONCE().

David


\
 
 \ /
  Last update: 2013-05-09 22:21    [W:0.118 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site