Files
tegra-linux-noble/include/uapi/linux
Yan, Zheng 27ac905b8f perf/x86/intel: Reduce lbr_sel_map[] size
The index of lbr_sel_map is bit value of perf branch_sample_type.
PERF_SAMPLE_BRANCH_MAX is 1024 at present, so each lbr_sel_map uses
4096 bytes. By using bit shift as index, we can reduce lbr_sel_map
size to 40 bytes. This patch defines 'bit shift' for branch types,
and use 'bit shift' to define lbr_sel_maps.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Signed-off-by: Kan Liang <kan.liang@intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Stephane Eranian <eranian@google.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Cc: jolsa@redhat.com
Cc: linux-api@vger.kernel.org
Link: http://lkml.kernel.org/r/1415156173-10035-2-git-send-email-kan.liang@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2015-02-18 17:16:01 +01:00
..
2014-10-20 10:30:15 +08:00
2014-09-23 23:15:46 -07:00
2014-11-24 17:31:46 -05:00
2014-10-14 13:08:29 +11:00
2014-12-09 13:34:10 -05:00
2014-07-01 10:48:05 -06:00
2014-03-20 14:55:18 +01:00
2014-11-19 14:48:02 -06:00
2014-12-08 12:55:57 +08:00
2014-08-08 15:57:31 -07:00
2014-10-24 00:14:37 +02:00
2014-05-14 10:04:34 +01:00
2013-12-11 12:57:55 -08:00
2013-08-13 15:10:22 -07:00
2014-12-16 11:19:42 -05:00
2014-12-22 16:12:36 -05:00
2014-12-02 13:52:53 -07:00
2014-11-21 18:07:33 +01:00
2014-12-22 16:12:36 -05:00
2014-08-08 15:57:31 -07:00
2013-11-27 11:03:38 -08:00
2014-03-04 13:51:06 -05:00
2013-07-09 10:33:25 -07:00
2014-12-13 12:42:52 -08:00
2014-11-04 13:17:10 -07:00
2014-01-06 15:13:01 -05:00
2014-03-21 14:21:13 -04:00
2014-12-10 17:41:10 -08:00
2014-12-09 14:10:41 +08:00
2014-04-26 12:13:24 -04:00
2014-12-09 12:05:26 +02:00
2014-12-09 12:05:26 +02:00
2014-12-09 12:06:31 +02:00
2014-12-09 12:05:24 +02:00
2013-12-11 09:25:20 -02:00