Re: [PATCH 3/6] perf tools: Reorganize some structs to save space

From: Peter Zijlstra
Date: Thu Apr 08 2010 - 11:11:59 EST


On Thu, 2010-04-08 at 11:38 -0300, Arnaldo Carvalho de Melo wrote:
> @@ -68,11 +68,11 @@ struct sample_data {
> u64 addr;
> u64 id;
> u64 stream_id;
> - u32 cpu;
> u64 period;
> - struct ip_callchain *callchain;
> + u32 cpu;
> u32 raw_size;
> void *raw_data;
> + struct ip_callchain *callchain;
> };

If that is a struct that is to match a kernel produced record then this
is utterly broken.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/