[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5535B8F3.8000306@huawei.com>
Date: Tue, 21 Apr 2015 10:41:55 +0800
From: Wang Nan <wangnan0@...wei.com>
To: Arnaldo Carvalho de Melo <acme@...nel.org>,
Jiri Olsa <jolsa@...nel.org>
CC: David Ahern <dsahern@...il.com>,
Frederic Weisbecker <fweisbec@...il.com>,
He Kuang <hekuang@...wei.com>, Ingo Molnar <mingo@...nel.org>,
"Jeremie Galarneau" <jgalar@...icios.com>,
Namhyung Kim <namhyung@...nel.org>,
"Paul Mackerras" <paulus@...ba.org>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
Tom Zanussi <tzanussi@...il.com>,
lkml <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 7/7] perf data: Fix signess of value
On 2015/4/21 5:23, Arnaldo Carvalho de Melo wrote:
> Em Sat, Apr 18, 2015 at 05:50:20PM +0200, Jiri Olsa escreveu:
>> From: Wang Nan <wangnan0@...wei.com>
>>
>> When converting int values, perf first extractes it to a ulonglong, then
>> feeds it to babeltrace as a signed value. For negative 32 bit values
>> (for example, return values of failed syscalls), the extracted data
>> should be something like 0xfffffffe (-2). It becomes a large int64
>> value. Babeltrace denies to insert it with
>> bt_ctf_field_signed_integer_set_value() because it is larger than
>> 0x7fffffff, the largest positive value a signed 32 bit int can be.
>
> There is no such word "signess", it is "signedness", fixing this up.
> Humm, it seems there is such a word indeed:
>
> http://www.urbandictionary.com/define.php?term=Signess
>
> But I bet this is the one we want:
>
> http://en.wikipedia.org/wiki/Signedness
>
> Right? :-)
>
> - Arnaldo
>
Sorry for the bad English. Please help me to fix it. Thank you.
--
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