lkml.org 
[lkml]   [2013]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [ANNOUNCE] ktap 0.1 released
On 2013/5/22 6:19, Jonathan Corbet wrote:
> On Tue, 21 May 2013 11:56:14 +0800
> "zhangwei(Jovi)" <jovi.zhangwei@huawei.com> wrote:
>
>> we welcome bug reports and fixes for the issues.
>
> I'm messing with it...first impression:
>
> unable create tracepoint event sys_enter_mmap on cpu 4, err: -19
> unable create tracepoint event sys_enter_mmap on cpu 5, err: -19
> unable create tracepoint event sys_enter_mmap on cpu 6, err: -19
> unable create tracepoint event sys_enter_mmap on cpu 7, err: -19
> [...]
>
> Unsurprising, this is a four-core system. The code reads:
>
>> for_each_possible_cpu(cpu)
>> enable_tracepoint_on_cpu(cpu, &attr, call, arg, type);
>
> Maybe that needs to be for_each_online_cpu() instead?
>
Jon, Really thank you for this bug report, fixed it as your suggestion.

.jovi







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