Re: [PATCH 2/2] hw-breakpoints: Add two reserved fields for futureextensions

From: Peter Zijlstra
Date: Thu Dec 03 2009 - 16:34:33 EST


On Thu, 2009-12-03 at 22:16 +0100, Frederic Weisbecker wrote:

> diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
> index 771d04c..89832cc 100644
> --- a/include/linux/perf_event.h
> +++ b/include/linux/perf_event.h
> @@ -221,6 +221,8 @@ struct perf_event_attr {
> __u64 bp_end;
> __u32 bp_type;
> __u32 bp_len;
> + __u64 __bp_reserved_1;
> + __u64 __bp_reserved_2;
> };
> };

Looking at that code I see:

union {
struct {
}
}

wth is that union for?

--
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/