[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <519C3BA5.1070109@huawei.com>
Date: Wed, 22 May 2013 11:29:41 +0800
From: "zhangwei(Jovi)" <jovi.zhangwei@...wei.com>
To: Jonathan Corbet <corbet@....net>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [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@...wei.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
--
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