lkml.org 
[lkml]   [2013]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 10/10] perf tests: Use lower sample_freq in sw clock event period test
On 11/11/13, 1:22 PM, Arnaldo Carvalho de Melo wrote:

> @@ -58,8 +58,11 @@ static int __test__sw_clock_freq(enum perf_sw_ids clock_id)
> }
>
> if (perf_evlist__open(evlist)) {
> + const char *knob = "/proc/sys/kernel/perf_event_max_sample_rate";
> +
> err = -errno;
> - pr_debug("Couldn't open evlist: %s\n", strerror(errno));
> + pr_debug("Couldn't open evlist: %s\nHint: check %s, using %" PRIu64 " in this test.\n",
> + strerror(errno), knob, (u64)attr.sample_freq);
> goto out_delete_maps;
> }

Jiri had a patch to drop the sample rate to max. Perhaps re-use that here?




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