]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
Drop perf-intel-bts-does-not-support-aux-area-sampling.patch
authorSasha Levin <sashal@kernel.org>
Sun, 29 Dec 2019 02:46:00 +0000 (21:46 -0500)
committerSasha Levin <sashal@kernel.org>
Sun, 29 Dec 2019 14:04:51 +0000 (09:04 -0500)
Signed-off-by: Sasha Levin <sashal@kernel.org>
queue-4.14/perf-intel-bts-does-not-support-aux-area-sampling.patch [deleted file]
queue-4.14/series
queue-4.19/perf-intel-bts-does-not-support-aux-area-sampling.patch [deleted file]
queue-4.19/series
queue-4.4/perf-intel-bts-does-not-support-aux-area-sampling.patch [deleted file]
queue-4.4/series
queue-4.9/perf-intel-bts-does-not-support-aux-area-sampling.patch [deleted file]
queue-4.9/series
queue-5.4/perf-intel-bts-does-not-support-aux-area-sampling.patch [deleted file]
queue-5.4/series

diff --git a/queue-4.14/perf-intel-bts-does-not-support-aux-area-sampling.patch b/queue-4.14/perf-intel-bts-does-not-support-aux-area-sampling.patch
deleted file mode 100644 (file)
index e3e807e..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-From ba31959805882904861c4fb23ea621b52d0ae907 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Fri, 15 Nov 2019 14:42:25 +0200
-Subject: perf intel-bts: Does not support AUX area sampling
-
-From: Adrian Hunter <adrian.hunter@intel.com>
-
-[ Upstream commit 32a1ece4bdbde24734ab16484bad7316f03fc42d ]
-
-Add an error message because Intel BTS does not support AUX area
-sampling.
-
-Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
-Cc: Jiri Olsa <jolsa@redhat.com>
-Link: http://lore.kernel.org/lkml/20191115124225.5247-16-adrian.hunter@intel.com
-Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- tools/perf/arch/x86/util/auxtrace.c  | 2 ++
- tools/perf/arch/x86/util/intel-bts.c | 5 +++++
- 2 files changed, 7 insertions(+)
-
-diff --git a/tools/perf/arch/x86/util/auxtrace.c b/tools/perf/arch/x86/util/auxtrace.c
-index 6aa3f2a38321..98db6f5ca08b 100644
---- a/tools/perf/arch/x86/util/auxtrace.c
-+++ b/tools/perf/arch/x86/util/auxtrace.c
-@@ -36,6 +36,8 @@ struct auxtrace_record *auxtrace_record__init_intel(struct perf_evlist *evlist,
-       intel_pt_pmu = perf_pmu__find(INTEL_PT_PMU_NAME);
-       intel_bts_pmu = perf_pmu__find(INTEL_BTS_PMU_NAME);
-+      if (intel_bts_pmu)
-+              intel_bts_pmu->auxtrace = true;
-       if (evlist) {
-               evlist__for_each_entry(evlist, evsel) {
-diff --git a/tools/perf/arch/x86/util/intel-bts.c b/tools/perf/arch/x86/util/intel-bts.c
-index 781df40b2966..b6120ef8b4a4 100644
---- a/tools/perf/arch/x86/util/intel-bts.c
-+++ b/tools/perf/arch/x86/util/intel-bts.c
-@@ -118,6 +118,11 @@ static int intel_bts_recording_options(struct auxtrace_record *itr,
-       const struct cpu_map *cpus = evlist->cpus;
-       bool privileged = geteuid() == 0 || perf_event_paranoid() < 0;
-+      if (opts->auxtrace_sample_mode) {
-+              pr_err("Intel BTS does not support AUX area sampling\n");
-+              return -EINVAL;
-+      }
-+
-       btsr->evlist = evlist;
-       btsr->snapshot_mode = opts->auxtrace_snapshot_mode;
--- 
-2.20.1
-
index ff45ccb5d449844f83f880b4126481455e28a9cb..384131fd83b4c4c06352ea949477cbe1cbb4fae5 100644 (file)
@@ -132,7 +132,6 @@ mac80211-consider-qos-null-frames-for-sta_nullfunc_a.patch
 crypto-vmx-avoid-weird-build-failures.patch
 libtraceevent-fix-memory-leakage-in-copy_filter_type.patch
 mips-fix-build-when-48-bits-virtual-memory-is-enable.patch
-perf-intel-bts-does-not-support-aux-area-sampling.patch
 net-phy-initialise-phydev-speed-and-duplex-sanely.patch
 btrfs-don-t-prematurely-free-work-in-reada_start_mac.patch
 btrfs-don-t-prematurely-free-work-in-scrub_missing_r.patch
diff --git a/queue-4.19/perf-intel-bts-does-not-support-aux-area-sampling.patch b/queue-4.19/perf-intel-bts-does-not-support-aux-area-sampling.patch
deleted file mode 100644 (file)
index 4a53be9..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-From c29fa3cfd24f4aef6bb14cfa04a48bea9b4d89f0 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Fri, 15 Nov 2019 14:42:25 +0200
-Subject: perf intel-bts: Does not support AUX area sampling
-
-From: Adrian Hunter <adrian.hunter@intel.com>
-
-[ Upstream commit 32a1ece4bdbde24734ab16484bad7316f03fc42d ]
-
-Add an error message because Intel BTS does not support AUX area
-sampling.
-
-Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
-Cc: Jiri Olsa <jolsa@redhat.com>
-Link: http://lore.kernel.org/lkml/20191115124225.5247-16-adrian.hunter@intel.com
-Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- tools/perf/arch/x86/util/auxtrace.c  | 2 ++
- tools/perf/arch/x86/util/intel-bts.c | 5 +++++
- 2 files changed, 7 insertions(+)
-
-diff --git a/tools/perf/arch/x86/util/auxtrace.c b/tools/perf/arch/x86/util/auxtrace.c
-index b135af62011c..c28b6516d41d 100644
---- a/tools/perf/arch/x86/util/auxtrace.c
-+++ b/tools/perf/arch/x86/util/auxtrace.c
-@@ -36,6 +36,8 @@ struct auxtrace_record *auxtrace_record__init_intel(struct perf_evlist *evlist,
-       intel_pt_pmu = perf_pmu__find(INTEL_PT_PMU_NAME);
-       intel_bts_pmu = perf_pmu__find(INTEL_BTS_PMU_NAME);
-+      if (intel_bts_pmu)
-+              intel_bts_pmu->auxtrace = true;
-       evlist__for_each_entry(evlist, evsel) {
-               if (intel_pt_pmu && evsel->attr.type == intel_pt_pmu->type)
-diff --git a/tools/perf/arch/x86/util/intel-bts.c b/tools/perf/arch/x86/util/intel-bts.c
-index 781df40b2966..b6120ef8b4a4 100644
---- a/tools/perf/arch/x86/util/intel-bts.c
-+++ b/tools/perf/arch/x86/util/intel-bts.c
-@@ -118,6 +118,11 @@ static int intel_bts_recording_options(struct auxtrace_record *itr,
-       const struct cpu_map *cpus = evlist->cpus;
-       bool privileged = geteuid() == 0 || perf_event_paranoid() < 0;
-+      if (opts->auxtrace_sample_mode) {
-+              pr_err("Intel BTS does not support AUX area sampling\n");
-+              return -EINVAL;
-+      }
-+
-       btsr->evlist = evlist;
-       btsr->snapshot_mode = opts->auxtrace_snapshot_mode;
--- 
-2.20.1
-
index cf1327f304a0382339734da5ba8981bdf0e7e100..110a7153c1710f8491abe517ededf1c2566723db 100644 (file)
@@ -184,7 +184,6 @@ crypto-vmx-avoid-weird-build-failures.patch
 libtraceevent-fix-memory-leakage-in-copy_filter_type.patch
 mips-fix-build-when-48-bits-virtual-memory-is-enable.patch
 drm-amdgpu-fix-bad-dma-from-interrupt_cntl2.patch
-perf-intel-bts-does-not-support-aux-area-sampling.patch
 net-phy-initialise-phydev-speed-and-duplex-sanely.patch
 btrfs-don-t-prematurely-free-work-in-reada_start_mac.patch
 btrfs-don-t-prematurely-free-work-in-scrub_missing_r.patch
diff --git a/queue-4.4/perf-intel-bts-does-not-support-aux-area-sampling.patch b/queue-4.4/perf-intel-bts-does-not-support-aux-area-sampling.patch
deleted file mode 100644 (file)
index 284b6d0..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-From f85f768e43c28aa9a7e4a40216f6118f20c4fbbf Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Fri, 15 Nov 2019 14:42:25 +0200
-Subject: perf intel-bts: Does not support AUX area sampling
-
-From: Adrian Hunter <adrian.hunter@intel.com>
-
-[ Upstream commit 32a1ece4bdbde24734ab16484bad7316f03fc42d ]
-
-Add an error message because Intel BTS does not support AUX area
-sampling.
-
-Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
-Cc: Jiri Olsa <jolsa@redhat.com>
-Link: http://lore.kernel.org/lkml/20191115124225.5247-16-adrian.hunter@intel.com
-Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- tools/perf/arch/x86/util/auxtrace.c  | 2 ++
- tools/perf/arch/x86/util/intel-bts.c | 5 +++++
- 2 files changed, 7 insertions(+)
-
-diff --git a/tools/perf/arch/x86/util/auxtrace.c b/tools/perf/arch/x86/util/auxtrace.c
-index 7a7805583e3f..ab641cfc8c2b 100644
---- a/tools/perf/arch/x86/util/auxtrace.c
-+++ b/tools/perf/arch/x86/util/auxtrace.c
-@@ -35,6 +35,8 @@ struct auxtrace_record *auxtrace_record__init_intel(struct perf_evlist *evlist,
-       intel_pt_pmu = perf_pmu__find(INTEL_PT_PMU_NAME);
-       intel_bts_pmu = perf_pmu__find(INTEL_BTS_PMU_NAME);
-+      if (intel_bts_pmu)
-+              intel_bts_pmu->auxtrace = true;
-       if (evlist) {
-               evlist__for_each(evlist, evsel) {
-diff --git a/tools/perf/arch/x86/util/intel-bts.c b/tools/perf/arch/x86/util/intel-bts.c
-index 9b94ce520917..9d83a7f3496c 100644
---- a/tools/perf/arch/x86/util/intel-bts.c
-+++ b/tools/perf/arch/x86/util/intel-bts.c
-@@ -119,6 +119,11 @@ static int intel_bts_recording_options(struct auxtrace_record *itr,
-       const struct cpu_map *cpus = evlist->cpus;
-       bool privileged = geteuid() == 0 || perf_event_paranoid() < 0;
-+      if (opts->auxtrace_sample_mode) {
-+              pr_err("Intel BTS does not support AUX area sampling\n");
-+              return -EINVAL;
-+      }
-+
-       btsr->evlist = evlist;
-       btsr->snapshot_mode = opts->auxtrace_snapshot_mode;
--- 
-2.20.1
-
index af96557113fe3a84689edd94ac47e3d360ddabd4..07cc79dae9bd06523458716b292cd7e405dbfe2f 100644 (file)
@@ -62,7 +62,6 @@ fbtft-make-sure-string-is-null-terminated.patch
 crypto-sun4i-ss-fix-64-bit-size_t-warnings-on-sun4i-.patch
 crypto-vmx-avoid-weird-build-failures.patch
 libtraceevent-fix-memory-leakage-in-copy_filter_type.patch
-perf-intel-bts-does-not-support-aux-area-sampling.patch
 net-phy-initialise-phydev-speed-and-duplex-sanely.patch
 revert-mmc-sdhci-fix-incorrect-switch-to-hs-mode.patch
 usb-xhci-fix-build-warning-seen-with-config_pm-n.patch
diff --git a/queue-4.9/perf-intel-bts-does-not-support-aux-area-sampling.patch b/queue-4.9/perf-intel-bts-does-not-support-aux-area-sampling.patch
deleted file mode 100644 (file)
index 521e48d..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-From e0e5dc019e71919e17968f5d4946f7a39a38c2a9 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Fri, 15 Nov 2019 14:42:25 +0200
-Subject: perf intel-bts: Does not support AUX area sampling
-
-From: Adrian Hunter <adrian.hunter@intel.com>
-
-[ Upstream commit 32a1ece4bdbde24734ab16484bad7316f03fc42d ]
-
-Add an error message because Intel BTS does not support AUX area
-sampling.
-
-Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
-Cc: Jiri Olsa <jolsa@redhat.com>
-Link: http://lore.kernel.org/lkml/20191115124225.5247-16-adrian.hunter@intel.com
-Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- tools/perf/arch/x86/util/auxtrace.c  | 2 ++
- tools/perf/arch/x86/util/intel-bts.c | 5 +++++
- 2 files changed, 7 insertions(+)
-
-diff --git a/tools/perf/arch/x86/util/auxtrace.c b/tools/perf/arch/x86/util/auxtrace.c
-index cc1d865e31f1..429a0b04d737 100644
---- a/tools/perf/arch/x86/util/auxtrace.c
-+++ b/tools/perf/arch/x86/util/auxtrace.c
-@@ -35,6 +35,8 @@ struct auxtrace_record *auxtrace_record__init_intel(struct perf_evlist *evlist,
-       intel_pt_pmu = perf_pmu__find(INTEL_PT_PMU_NAME);
-       intel_bts_pmu = perf_pmu__find(INTEL_BTS_PMU_NAME);
-+      if (intel_bts_pmu)
-+              intel_bts_pmu->auxtrace = true;
-       if (evlist) {
-               evlist__for_each_entry(evlist, evsel) {
-diff --git a/tools/perf/arch/x86/util/intel-bts.c b/tools/perf/arch/x86/util/intel-bts.c
-index 5132775a044f..400bb1a52d04 100644
---- a/tools/perf/arch/x86/util/intel-bts.c
-+++ b/tools/perf/arch/x86/util/intel-bts.c
-@@ -121,6 +121,11 @@ static int intel_bts_recording_options(struct auxtrace_record *itr,
-       const struct cpu_map *cpus = evlist->cpus;
-       bool privileged = geteuid() == 0 || perf_event_paranoid() < 0;
-+      if (opts->auxtrace_sample_mode) {
-+              pr_err("Intel BTS does not support AUX area sampling\n");
-+              return -EINVAL;
-+      }
-+
-       btsr->evlist = evlist;
-       btsr->snapshot_mode = opts->auxtrace_snapshot_mode;
--- 
-2.20.1
-
index 0e4c5946f4ec7a85ff193f542488217a25228441..35b923ca938a286df07dddb8637d98637d11c304 100644 (file)
@@ -81,7 +81,6 @@ fbtft-make-sure-string-is-null-terminated.patch
 crypto-sun4i-ss-fix-64-bit-size_t-warnings-on-sun4i-.patch
 crypto-vmx-avoid-weird-build-failures.patch
 libtraceevent-fix-memory-leakage-in-copy_filter_type.patch
-perf-intel-bts-does-not-support-aux-area-sampling.patch
 net-phy-initialise-phydev-speed-and-duplex-sanely.patch
 btrfs-don-t-prematurely-free-work-in-reada_start_mac.patch
 revert-mmc-sdhci-fix-incorrect-switch-to-hs-mode.patch
diff --git a/queue-5.4/perf-intel-bts-does-not-support-aux-area-sampling.patch b/queue-5.4/perf-intel-bts-does-not-support-aux-area-sampling.patch
deleted file mode 100644 (file)
index 1d0a7b7..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-From dd0001c28ec58b829183c178c93c49d910a54065 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Fri, 15 Nov 2019 14:42:25 +0200
-Subject: perf intel-bts: Does not support AUX area sampling
-
-From: Adrian Hunter <adrian.hunter@intel.com>
-
-[ Upstream commit 32a1ece4bdbde24734ab16484bad7316f03fc42d ]
-
-Add an error message because Intel BTS does not support AUX area
-sampling.
-
-Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
-Cc: Jiri Olsa <jolsa@redhat.com>
-Link: http://lore.kernel.org/lkml/20191115124225.5247-16-adrian.hunter@intel.com
-Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- tools/perf/arch/x86/util/auxtrace.c  | 2 ++
- tools/perf/arch/x86/util/intel-bts.c | 5 +++++
- 2 files changed, 7 insertions(+)
-
-diff --git a/tools/perf/arch/x86/util/auxtrace.c b/tools/perf/arch/x86/util/auxtrace.c
-index 96f4a2c11893..61042114a5cc 100644
---- a/tools/perf/arch/x86/util/auxtrace.c
-+++ b/tools/perf/arch/x86/util/auxtrace.c
-@@ -27,6 +27,8 @@ struct auxtrace_record *auxtrace_record__init_intel(struct evlist *evlist,
-       intel_pt_pmu = perf_pmu__find(INTEL_PT_PMU_NAME);
-       intel_bts_pmu = perf_pmu__find(INTEL_BTS_PMU_NAME);
-+      if (intel_bts_pmu)
-+              intel_bts_pmu->auxtrace = true;
-       evlist__for_each_entry(evlist, evsel) {
-               if (intel_pt_pmu && evsel->core.attr.type == intel_pt_pmu->type)
-diff --git a/tools/perf/arch/x86/util/intel-bts.c b/tools/perf/arch/x86/util/intel-bts.c
-index f7f68a50a5cd..27d9e214d068 100644
---- a/tools/perf/arch/x86/util/intel-bts.c
-+++ b/tools/perf/arch/x86/util/intel-bts.c
-@@ -113,6 +113,11 @@ static int intel_bts_recording_options(struct auxtrace_record *itr,
-       const struct perf_cpu_map *cpus = evlist->core.cpus;
-       bool privileged = perf_event_paranoid_check(-1);
-+      if (opts->auxtrace_sample_mode) {
-+              pr_err("Intel BTS does not support AUX area sampling\n");
-+              return -EINVAL;
-+      }
-+
-       btsr->evlist = evlist;
-       btsr->snapshot_mode = opts->auxtrace_snapshot_mode;
--- 
-2.20.1
-
index 18dc4c8cec053c15485cc12bcb39c7b1e6b7a23e..aaf2f601eff0d97224e66bc8545fa23881d488d9 100644 (file)
@@ -350,7 +350,6 @@ mips-fix-build-when-48-bits-virtual-memory-is-enable.patch
 drm-amdgpu-fix-bad-dma-from-interrupt_cntl2.patch
 ice-only-disable-vf-state-when-freeing-each-vf-resou.patch
 ice-fix-setting-coalesce-to-handle-dcb-configuration.patch
-perf-intel-bts-does-not-support-aux-area-sampling.patch
 perf-record-add-a-function-to-test-for-kernel-suppor.patch
 net-phy-initialise-phydev-speed-and-duplex-sanely.patch
 tools-bpf-fix-build-for-make-s-tools-bpf-o-dir.patch