]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Fix perf.data format description of NRCPUS header
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 25 May 2018 19:37:36 +0000 (16:37 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 30 May 2018 18:40:26 +0000 (15:40 -0300)
commit6a8f947afec9ad489e7abf2261893f2b793c7488
treec5a62cf747bd1c155a991a545becc0ca8c578eb5
parentc335ef406e93557dfcb42d183d74881afa8b51ae
perf tools: Fix perf.data format description of NRCPUS header

In the perf.data HEADER_CPUDESC feadure header we store first the number
of available CPUs in the system, then the number of CPUs at the time of
writing the header, not the other way around.

Reported-by: Thomas-Mich Richter <tmricht@linux.ibm.com>
Acked-by: Andi Kleen <ak@linux.intel.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: He Kuang <hekuang@huawei.com>
Cc: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Cc: Jin Yao <yao.jin@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kim Phillips <kim.phillips@arm.com>
Cc: Lakshman Annadorai <lakshmana@google.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Simon Que <sque@chromium.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-j7o92acm2vnxjv70y4o3swoc@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf.data-file-format.txt