]> git.baikalelectronics.ru Git - kernel.git/commit
perf xyarray: Save max_x, max_y
authorAndi Kleen <ak@linux.intel.com>
Fri, 11 Aug 2017 23:26:16 +0000 (16:26 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 22 Aug 2017 14:51:28 +0000 (11:51 -0300)
commitecdad6edf699f5fe6f123bd2ddb41eb839719e48
tree2711d906813ca52a32d2595b6f55fd27704fc529
parent6a20cf20bcacad40989e32efad50a2fdb6bc0d11
perf xyarray: Save max_x, max_y

Save the original array dimensions in xyarrays, so that users can
retrieve them later. Add some inline functions to access these fields.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/20170811232634.30465-1-andi@firstfloor.org
[ As noticed by Jiri, fix up namespacing: xy__method() -> xyarray__method() ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/xyarray.c
tools/perf/util/xyarray.h