diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/inetdevice.h | 2 | ||||
-rw-r--r-- | include/linux/perf_counter.h | 13 |
2 files changed, 13 insertions, 2 deletions
diff --git a/include/linux/inetdevice.h b/include/linux/inetdevice.h index acef2a770b6b..ad27c7da8798 100644 --- a/include/linux/inetdevice.h +++ b/include/linux/inetdevice.h | |||
@@ -82,7 +82,7 @@ static inline void ipv4_devconf_setall(struct in_device *in_dev) | |||
82 | 82 | ||
83 | #define IN_DEV_FORWARD(in_dev) IN_DEV_CONF_GET((in_dev), FORWARDING) | 83 | #define IN_DEV_FORWARD(in_dev) IN_DEV_CONF_GET((in_dev), FORWARDING) |
84 | #define IN_DEV_MFORWARD(in_dev) IN_DEV_ANDCONF((in_dev), MC_FORWARDING) | 84 | #define IN_DEV_MFORWARD(in_dev) IN_DEV_ANDCONF((in_dev), MC_FORWARDING) |
85 | #define IN_DEV_RPFILTER(in_dev) IN_DEV_ANDCONF((in_dev), RP_FILTER) | 85 | #define IN_DEV_RPFILTER(in_dev) IN_DEV_MAXCONF((in_dev), RP_FILTER) |
86 | #define IN_DEV_SOURCE_ROUTE(in_dev) IN_DEV_ANDCONF((in_dev), \ | 86 | #define IN_DEV_SOURCE_ROUTE(in_dev) IN_DEV_ANDCONF((in_dev), \ |
87 | ACCEPT_SOURCE_ROUTE) | 87 | ACCEPT_SOURCE_ROUTE) |
88 | #define IN_DEV_BOOTP_RELAY(in_dev) IN_DEV_ANDCONF((in_dev), BOOTP_RELAY) | 88 | #define IN_DEV_BOOTP_RELAY(in_dev) IN_DEV_ANDCONF((in_dev), BOOTP_RELAY) |
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h index bd15d7a5f5ce..e604e6ef72dd 100644 --- a/include/linux/perf_counter.h +++ b/include/linux/perf_counter.h | |||
@@ -181,8 +181,9 @@ struct perf_counter_attr { | |||
181 | freq : 1, /* use freq, not period */ | 181 | freq : 1, /* use freq, not period */ |
182 | inherit_stat : 1, /* per task counts */ | 182 | inherit_stat : 1, /* per task counts */ |
183 | enable_on_exec : 1, /* next exec enables */ | 183 | enable_on_exec : 1, /* next exec enables */ |
184 | task : 1, /* trace fork/exit */ | ||
184 | 185 | ||
185 | __reserved_1 : 51; | 186 | __reserved_1 : 50; |
186 | 187 | ||
187 | __u32 wakeup_events; /* wakeup every n events */ | 188 | __u32 wakeup_events; /* wakeup every n events */ |
188 | __u32 __reserved_2; | 189 | __u32 __reserved_2; |
@@ -311,6 +312,15 @@ enum perf_event_type { | |||
311 | /* | 312 | /* |
312 | * struct { | 313 | * struct { |
313 | * struct perf_event_header header; | 314 | * struct perf_event_header header; |
315 | * u32 pid, ppid; | ||
316 | * u32 tid, ptid; | ||
317 | * }; | ||
318 | */ | ||
319 | PERF_EVENT_EXIT = 4, | ||
320 | |||
321 | /* | ||
322 | * struct { | ||
323 | * struct perf_event_header header; | ||
314 | * u64 time; | 324 | * u64 time; |
315 | * u64 id; | 325 | * u64 id; |
316 | * u64 stream_id; | 326 | * u64 stream_id; |
@@ -323,6 +333,7 @@ enum perf_event_type { | |||
323 | * struct { | 333 | * struct { |
324 | * struct perf_event_header header; | 334 | * struct perf_event_header header; |
325 | * u32 pid, ppid; | 335 | * u32 pid, ppid; |
336 | * u32 tid, ptid; | ||
326 | * }; | 337 | * }; |
327 | */ | 338 | */ |
328 | PERF_EVENT_FORK = 7, | 339 | PERF_EVENT_FORK = 7, |