aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/perf_counter.h
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2009-04-06 05:45:01 -0400
committerIngo Molnar <mingo@elte.hu>2009-04-07 04:48:55 -0400
commit3c446b3d3b38f991f97e9d2df0ad26a60a94dcff (patch)
treefc4a7bdf50f34eb1a7343afdcc980355ccce5e97 /include/linux/perf_counter.h
parent9c03d88e328d5f28f13191622c2ea1349c36b799 (diff)
perf_counter: SIGIO support
Provide support for fcntl() I/O availability signals. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com> LKML-Reference: <20090406094517.579788800@chello.nl> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/perf_counter.h')
-rw-r--r--include/linux/perf_counter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h
index f9d5cf0bfbdd..8d5d11b8d011 100644
--- a/include/linux/perf_counter.h
+++ b/include/linux/perf_counter.h
@@ -238,6 +238,7 @@ enum perf_event_type {
238#include <linux/rcupdate.h> 238#include <linux/rcupdate.h>
239#include <linux/spinlock.h> 239#include <linux/spinlock.h>
240#include <linux/hrtimer.h> 240#include <linux/hrtimer.h>
241#include <linux/fs.h>
241#include <asm/atomic.h> 242#include <asm/atomic.h>
242 243
243struct task_struct; 244struct task_struct;
@@ -398,6 +399,7 @@ struct perf_counter {
398 399
399 /* poll related */ 400 /* poll related */
400 wait_queue_head_t waitq; 401 wait_queue_head_t waitq;
402 struct fasync_struct *fasync;
401 /* optional: for NMIs */ 403 /* optional: for NMIs */
402 struct perf_wakeup_entry wakeup; 404 struct perf_wakeup_entry wakeup;
403 405