From: Stephane Eranian Date: Mon, 11 Aug 2014 19:27:13 +0000 (+0200) Subject: perf/x86: Clean up __intel_pmu_pebs_event() code X-Git-Tag: fixes-against-v3.18-rc2~100^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8aab2e04ac9f442a07abeaf49ddd1703c608f47;p=pandora-kernel.git perf/x86: Clean up __intel_pmu_pebs_event() code This patch makes the code more readable. It also renames precise_store_data_hsw() to precise_datala_hsw() because the function is called for both loads and stores on HSW. The patch also gets rid of the hardcoded store events codes in that same function. Signed-off-by: Stephane Eranian Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/1407785233-32193-5-git-send-email-eranian@google.com Cc: ak@linux.intel.com Cc: Arnaldo Carvalho de Melo Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed