Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 333949
b: refs/heads/master
c: be77284
h: refs/heads/master
i:
  333947: 45030a1
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo committed Oct 2, 2012
1 parent bf222ff commit b00fcbd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 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: 11c4e4a32b420db683cf58069c525e94797ce044
refs/heads/master: be77284226374c75583f36dbbf43203039f6a44c
9 changes: 4 additions & 5 deletions trunk/tools/perf/builtin-top.c
Original file line number Diff line number Diff line change
Expand Up @@ -1159,11 +1159,6 @@ parse_callchain_opt(const struct option *opt, const char *arg, int unset)
return 0;
}

static const char * const top_usage[] = {
"perf top [<options>]",
NULL
};

int cmd_top(int argc, const char **argv, const char *prefix __maybe_unused)
{
struct perf_evsel *pos;
Expand Down Expand Up @@ -1250,6 +1245,10 @@ int cmd_top(int argc, const char **argv, const char *prefix __maybe_unused)
OPT_STRING('u', "uid", &top.target.uid_str, "user", "user to profile"),
OPT_END()
};
const char * const top_usage[] = {
"perf top [<options>]",
NULL
};

top.evlist = perf_evlist__new(NULL, NULL);
if (top.evlist == NULL)
Expand Down

0 comments on commit b00fcbd

Please sign in to comment.