lkml.org 
[lkml]   [2009]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/2] hw-breakpoints: Add two reserved fields for future extensions
From
Date
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?



\
 
 \ /
  Last update: 2009-12-03 22:37    [W:0.064 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site