Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752521AbbDUCrr (ORCPT ); Mon, 20 Apr 2015 22:47:47 -0400 Received: from szxga02-in.huawei.com ([119.145.14.65]:44584 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751745AbbDUCro (ORCPT ); Mon, 20 Apr 2015 22:47:44 -0400 Message-ID: <5535B8F3.8000306@huawei.com> Date: Tue, 21 Apr 2015 10:41:55 +0800 From: Wang Nan User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: Arnaldo Carvalho de Melo , Jiri Olsa CC: David Ahern , Frederic Weisbecker , He Kuang , Ingo Molnar , "Jeremie Galarneau" , Namhyung Kim , "Paul Mackerras" , Peter Zijlstra , Sebastian Andrzej Siewior , Tom Zanussi , lkml Subject: Re: [PATCH 7/7] perf data: Fix signess of value References: <1429372220-6406-1-git-send-email-jolsa@kernel.org> <1429372220-6406-8-git-send-email-jolsa@kernel.org> <20150420212314.GR11111@kernel.org> In-Reply-To: <20150420212314.GR11111@kernel.org> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.111.69.129] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1244 Lines: 34 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 >> >> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/