aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/perf.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2010-05-17 14:51:10 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-05-17 15:22:37 -0400
commit8035458fbb567ae138c77a5f710050107c6a7066 (patch)
tree0bd6e3730d96aa5d574e73d500f1820d2b195d8c /tools/perf/perf.h
parent1967936d688c475b85d34d84e09858cf514c893c (diff)
perf options: Type check OPT_BOOLEAN and fix the offenders
Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Stephane Eranian <eranian@google.com> Cc: Tom Zanussi <tzanussi@gmail.com> LKML-Reference: <new-submission> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/perf.h')
-rw-r--r--tools/perf/perf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/perf.h b/tools/perf/perf.h
index 02821febb704..ef7aa0a0c526 100644
--- a/tools/perf/perf.h
+++ b/tools/perf/perf.h
@@ -80,6 +80,7 @@ void get_term_dimensions(struct winsize *ws);
80 80
81#include "../../include/linux/perf_event.h" 81#include "../../include/linux/perf_event.h"
82#include "util/types.h" 82#include "util/types.h"
83#include <stdbool.h>
83 84
84/* 85/*
85 * prctl(PR_TASK_PERF_EVENTS_DISABLE) will (cheaply) disable all 86 * prctl(PR_TASK_PERF_EVENTS_DISABLE) will (cheaply) disable all
@@ -131,6 +132,6 @@ struct ip_callchain {
131 u64 ips[0]; 132 u64 ips[0];
132}; 133};
133 134
134extern int perf_host, perf_guest; 135extern bool perf_host, perf_guest;
135 136
136#endif 137#endif