[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131008132720.GD4018@ghostprotocols.net>
Date: Tue, 8 Oct 2013 10:27:20 -0300
From: Arnaldo Carvalho de Melo <acme@...stprotocols.net>
To: Ingo Molnar <mingo@...nel.org>
Cc: David Ahern <dsahern@...il.com>,
Namhyung Kim <namhyung@...nel.org>,
linux-kernel@...r.kernel.org,
Frederic Weisbecker <fweisbec@...il.com>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Jiri Olsa <jolsa@...hat.com>,
Namhyung Kim <namhyung.kim@....com>,
Stephane Eranian <eranian@...gle.com>
Subject: Re: [PATCH 2/3] perf stat: Don't require a workload when using
system wide or CPU options
Em Tue, Oct 08, 2013 at 02:51:13PM +0200, Ingo Molnar escreveu:
> Btw., would anyone be interested in adding CPU and node binding options to
> perf stat?
>
> There's code to do something like that in tools/perf/bench/numa.c:
>
> /* Special option string parsing callbacks: */
> OPT_CALLBACK('C', "cpus", NULL, "cpu[,cpu2,...cpuN]",
> "bind the first N tasks to these specific cpus (the rest is unbound)",
> parse_cpus_opt),
> OPT_CALLBACK('M', "memnodes", NULL, "node[,node2,...nodeN]",
> "bind the first N tasks to these specific memory nodes (the rest is unbound)",
> parse_nodes_opt),
As a convenience to using:
taskset -c cpu-list perf stat -C cpu-list workload
?
- Arnaldo
--
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