Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 304923
b: refs/heads/master
c: 80eebd9
h: refs/heads/master
i:
  304921: d856fa8
  304919: d38823f
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo committed May 8, 2012
1 parent da9a974 commit 2c7ce0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 77a6f014e9ae330c747c66bebfddf29abf9b89e9
refs/heads/master: 80eebd94d2090cf9e13ecdc305a0cf7996fa0070
3 changes: 1 addition & 2 deletions trunk/tools/perf/builtin-top.c
Original file line number Diff line number Diff line change
Expand Up @@ -1270,8 +1270,7 @@ int cmd_top(int argc, const char **argv, const char *prefix __used)
goto out_delete_evlist;
}

if (top.target.tid == 0 && top.target.pid == 0 &&
top.target.uid_str == NULL)
if (perf_target__none(&top.target))
top.target.system_wide = true;

if (perf_evlist__create_maps(top.evlist, &top.target) < 0)
Expand Down

0 comments on commit 2c7ce0e

Please sign in to comment.