X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=tools%2Fperf%2Fperf.h;h=ef7aa0a0c5265191e8120e76f9f134b5e241fa53;hb=033608c1f33bcacba8d3a960240a7b2900b1d5ff;hp=02821febb704733462845599292a7afa332c03c8;hpb=a1645ce12adb6c9cc9e19d7695466204e3f017fe;p=safe%2Fjmp%2Flinux-2.6 diff --git a/tools/perf/perf.h b/tools/perf/perf.h index 02821fe..ef7aa0a 100644 --- a/tools/perf/perf.h +++ b/tools/perf/perf.h @@ -80,6 +80,7 @@ void get_term_dimensions(struct winsize *ws); #include "../../include/linux/perf_event.h" #include "util/types.h" +#include /* * prctl(PR_TASK_PERF_EVENTS_DISABLE) will (cheaply) disable all @@ -131,6 +132,6 @@ struct ip_callchain { u64 ips[0]; }; -extern int perf_host, perf_guest; +extern bool perf_host, perf_guest; #endif