[PATCH 12/64] perf data: Fix signedness of value

2015-04-28 Thread Arnaldo Carvalho de Melo
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 0xfffe (-2). It becomes a large int64

[PATCH 12/64] perf data: Fix signedness of value

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Wang Nan wangn...@huawei.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 0xfffe (-2). It