[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <54C620EB.5060806@huawei.com>
Date: Mon, 26 Jan 2015 19:11:39 +0800
From: Wang Nan <wangnan0@...wei.com>
To: Jiri Olsa <jolsa@...hat.com>,
Jérémie Galarneau
<jeremie.galarneau@...icios.com>
CC: Steven Rostedt <rostedt@...dmis.org>,
Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
Li Zefan <lizefan@...wei.com>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH RFC 2/2] perf: convert: fix duplicate field names and
avoid reserved keywords.
Hi all,
I posted a new series of patches for this problem. I open another thread to avoid
disorder this thread. Please see:
https://lkml.org/lkml/2015/1/26/198
Thank you.
On 2015/1/25 0:39, Jiri Olsa wrote:
> On Fri, Jan 23, 2015 at 05:40:02PM -0500, Jérémie Galarneau wrote:
>
> SNIP
>
>>> bt_ctf_clock_create() with the checked name and then free it. However, it is hacky
>>> and I think you won't like it.
>>
>> The prospect of seeing that code has convinced me to introduce
>> int bt_ctf_validate_identifier(const char *identifier);
>>
>> commit 654c1444b546fd79b209288b93ed4e87d9bb8a2b
>> Author: Jérémie Galarneau <jeremie.galarneau@...icios.com>
>> Date: Fri Jan 23 16:24:52 2015 -0500
>>
>> Add utility function to validate CTF identifiers
>>
>> Introduces bt_ctf_validate_identifier() which validates a given
>> identifier against the list of CTF reserved keywords.
>>
>> This function may evolve to perform additional validity checks in
>> the future as the CTF specification moves forward.
>>
>> Acked-by: Mathieu Desnoyers <mathieu.desnoyers@...icios.com>
>> Signed-off-by: Jérémie Galarneau <jeremie.galarneau@...icios.com>
>>
>>
>> Does that take care of the problem?
>
> seems good to me, thanks
>
> jirka
>
--
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