From b00fcbde5cda9e1a71c71c29a4012fbae1421ac8 Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Mon, 1 Oct 2012 15:20:58 -0300 Subject: [PATCH] --- yaml --- r: 333949 b: refs/heads/master c: be77284226374c75583f36dbbf43203039f6a44c h: refs/heads/master i: 333947: 45030a13bec3739b91b7ce5aa02d846712caf1e0 v: v3 --- [refs] | 2 +- trunk/tools/perf/builtin-top.c | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/[refs] b/[refs] index d8c65830e31f..d4c0fa7275a3 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 11c4e4a32b420db683cf58069c525e94797ce044 +refs/heads/master: be77284226374c75583f36dbbf43203039f6a44c diff --git a/trunk/tools/perf/builtin-top.c b/trunk/tools/perf/builtin-top.c index e434a16bb5ac..f0c1c4f4692d 100644 --- a/trunk/tools/perf/builtin-top.c +++ b/trunk/tools/perf/builtin-top.c @@ -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 []", - NULL -}; - int cmd_top(int argc, const char **argv, const char *prefix __maybe_unused) { struct perf_evsel *pos; @@ -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 []", + NULL + }; top.evlist = perf_evlist__new(NULL, NULL); if (top.evlist == NULL)