[PATCH V2 1/1] perf/x86: filter branches for PEBS event

2015-03-27 Thread kan . liang
From: Kan Liang For supporting Intel LBR branches filtering, Intel LBR sharing logic mechanism is introduced from commit b36817e88630 ("perf/x86: Add Intel LBR sharing logic"). It modifies __intel_shared_reg_get_constraints to config lbr_sel, which is finally used to set LBR_SELECT. However, the

[PATCH V2 1/1] perf/x86: filter branches for PEBS event

2015-03-27 Thread kan . liang
From: Kan Liang kan.li...@intel.com For supporting Intel LBR branches filtering, Intel LBR sharing logic mechanism is introduced from commit b36817e88630 (perf/x86: Add Intel LBR sharing logic). It modifies __intel_shared_reg_get_constraints to config lbr_sel, which is finally used to set