diff options
Diffstat (limited to 'tools/perf/util/util.c')
| -rw-r--r-- | tools/perf/util/util.c | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/tools/perf/util/util.c b/tools/perf/util/util.c index 813141047fc2..8109a907841e 100644 --- a/tools/perf/util/util.c +++ b/tools/perf/util/util.c @@ -6,7 +6,7 @@   * XXX We need to find a better place for these things...   */  bool perf_host  = true; -bool perf_guest = true; +bool perf_guest = false;  void event_attr_init(struct perf_event_attr *attr)  { @@ -14,6 +14,8 @@ void event_attr_init(struct perf_event_attr *attr)  		attr->exclude_host  = 1;  	if (!perf_guest)  		attr->exclude_guest = 1; +	/* to capture ABI version */ +	attr->size = sizeof(*attr);  }  int mkdir_p(char *path, mode_t mode) | 
