[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-40ba93e3aa001246110320edbe8cf2eb488c1fe7@git.kernel.org>
Date: Mon, 14 Apr 2014 07:54:04 -0700
From: tip-bot for Ramkumar Ramachandra <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, mingo@...hat.com, acme@...hat.com,
hpa@...or.com, mingo@...nel.org, jolsa@...hat.com,
dsahern@...il.com, tglx@...utronix.de, artagnon@...il.com
Subject: [tip:perf/urgent] perf bench: Set more defaults in the 'numa'
suite
Commit-ID: 40ba93e3aa001246110320edbe8cf2eb488c1fe7
Gitweb: http://git.kernel.org/tip/40ba93e3aa001246110320edbe8cf2eb488c1fe7
Author: Ramkumar Ramachandra <artagnon@...il.com>
AuthorDate: Thu, 27 Mar 2014 19:50:17 -0400
Committer: Jiri Olsa <jolsa@...hat.com>
CommitDate: Mon, 14 Apr 2014 12:55:58 +0200
perf bench: Set more defaults in the 'numa' suite
Currently,
$ perf bench numa mem
errors out with usage information. To make this more user-friendly, let
us provide a minimum set of default values required for a test
run. As an added bonus,
$ perf bench all
now goes all the way to completion.
Signed-off-by: Ramkumar Ramachandra <artagnon@...il.com>
Cc: Arnaldo Carvalho de Melo <acme@...hat.com>
Cc: David Ahern <dsahern@...il.com>
Cc: Ingo Molnar <mingo@...hat.com>
Cc: Jiri Olsa <jolsa@...hat.com>
Link: http://lkml.kernel.org/r/1395964219-22173-2-git-send-email-artagnon@gmail.com
Signed-off-by: Jiri Olsa <jolsa@...hat.com>
---
tools/perf/bench/numa.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tools/perf/bench/numa.c b/tools/perf/bench/numa.c
index d4c83c6..20697fb 100644
--- a/tools/perf/bench/numa.c
+++ b/tools/perf/bench/numa.c
@@ -1593,6 +1593,10 @@ static void init_params(struct params *p, const char *name, int argc, const char
p->data_rand_walk = true;
p->nr_loops = -1;
p->init_random = true;
+ p->mb_global_str = "1";
+ p->nr_proc = 1;
+ p->nr_threads = 1;
+ p->nr_secs = 5;
}
static int run_bench_numa(const char *name, const char **argv)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists