]> git.karo-electronics.de Git - karo-tx-linux.git/commit
perf machine: Introduce number of threads member
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 4 May 2016 13:09:33 +0000 (10:09 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 6 May 2016 00:03:55 +0000 (21:03 -0300)
commitd2c11034406733374d1cdc588c53bb076d95a4e2
tree02982c3afd746b12a094f306a7c84a7494dd1861
parent1b6de5917172967acd8db4d222df4225d23a8a60
perf machine: Introduce number of threads member

To be used, for instance, for pre-allocating an rb_tree array for
sorting by other keys besides the current pid one.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Milian Wolff <milian.wolff@kdab.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-ja0ifkwue7ttjhbwijn6g6eu@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/machine.c
tools/perf/util/machine.h