Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755524AbbDTVw4 (ORCPT ); Mon, 20 Apr 2015 17:52:56 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35859 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751607AbbDTVwz (ORCPT ); Mon, 20 Apr 2015 17:52:55 -0400 Date: Mon, 20 Apr 2015 23:52:22 +0200 From: Jiri Olsa To: Arnaldo Carvalho de Melo Cc: Jiri Olsa , David Ahern , Frederic Weisbecker , He Kuang , Ingo Molnar , Jeremie Galarneau , Namhyung Kim , Paul Mackerras , Peter Zijlstra , Sebastian Andrzej Siewior , Tom Zanussi , Wang Nan , lkml Subject: Re: [PATCH 7/7] perf data: Fix signess of value Message-ID: <20150420215222.GG10644@krava.redhat.com> References: <1429372220-6406-1-git-send-email-jolsa@kernel.org> <1429372220-6406-8-git-send-email-jolsa@kernel.org> <20150420212314.GR11111@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150420212314.GR11111@kernel.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1216 Lines: 31 On Mon, Apr 20, 2015 at 06:23:14PM -0300, 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? :-) right ;-) thanks jirka -- 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/