]> Pileus Git - ~andy/linux/blobdiff - tools/perf/bench/numa.c
perf bench numa: Make no args mean 'run all tests'
[~andy/linux] / tools / perf / bench / numa.c
index d4c83c60b9b29fa7d6249de70e5f0673d2066287..97d86d828190950af7f133c1b8be72550070d3d1 100644 (file)
@@ -1593,6 +1593,7 @@ 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->run_all                      = argc == 1;
 }
 
 static int run_bench_numa(const char *name, const char **argv)