diff options
author | Oleksandr Suvorov <oleksandr.suvorov@foundries.io> | 2023-04-02 22:56:47 +0300 |
---|---|---|
committer | Oleksandr Suvorov <oleksandr.suvorov@foundries.io> | 2023-04-02 23:47:26 +0300 |
commit | 165d7b938904bb15a45d9d24be6cce6117319a71 (patch) | |
tree | 7ce6599ec8e0d5f8984827de0b35ed6125c1390f /recipes-kernel/linux/linux-qoriq/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch | |
parent | 9bbadd4c8a9b4f0ebafab8afc59e24f0b12c6c8b (diff) | |
download | meta-freescale-165d7b938904bb15a45d9d24be6cce6117319a71.tar.gz |
linux-qoriq: remove unused patches
Since updating the recipe to 5.10, the patches are not used and the
recipe for linux-qoriq_5.4 is moved to meta-freescale-3rdparty. Move
patches for 5.4 to meta-freescale-3rdparty as well.
Fixes: 1ecb4d68 ("linux-qoriq: upgrade to 5.10")
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
Diffstat (limited to 'recipes-kernel/linux/linux-qoriq/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch')
-rw-r--r-- | recipes-kernel/linux/linux-qoriq/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/recipes-kernel/linux/linux-qoriq/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch b/recipes-kernel/linux/linux-qoriq/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch deleted file mode 100644 index f5366416..00000000 --- a/recipes-kernel/linux/linux-qoriq/0001-perf-cs-etm-Move-definition-of-traceid_list-global-v.patch +++ /dev/null | |||
@@ -1,68 +0,0 @@ | |||
1 | From 168200b6d6ea0cb5765943ec5da5b8149701f36a Mon Sep 17 00:00:00 2001 | ||
2 | From: Leo Yan <leo.yan@linaro.org> | ||
3 | Date: Tue, 5 May 2020 21:36:42 +0800 | ||
4 | Subject: [PATCH] perf cs-etm: Move definition of 'traceid_list' global | ||
5 | variable from header file | ||
6 | |||
7 | The variable 'traceid_list' is defined in the header file cs-etm.h, | ||
8 | if multiple C files include cs-etm.h the compiler might complaint for | ||
9 | multiple definition of 'traceid_list'. | ||
10 | |||
11 | To fix multiple definition error, move the definition of 'traceid_list' | ||
12 | into cs-etm.c. | ||
13 | |||
14 | Upstream-Status: Backport | ||
15 | |||
16 | Fixes: cd8bfd8c973e ("perf tools: Add processing of coresight metadata") | ||
17 | Reported-by: Thomas Backlund <tmb@mageia.org> | ||
18 | Signed-off-by: Leo Yan <leo.yan@linaro.org> | ||
19 | Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org> | ||
20 | Reviewed-by: Mike Leach <mike.leach@linaro.org> | ||
21 | Tested-by: Mike Leach <mike.leach@linaro.org> | ||
22 | Tested-by: Thomas Backlund <tmb@mageia.org> | ||
23 | Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> | ||
24 | Cc: Jiri Olsa <jolsa@redhat.com> | ||
25 | Cc: Mark Rutland <mark.rutland@arm.com> | ||
26 | Cc: Namhyung Kim <namhyung@kernel.org> | ||
27 | Cc: Peter Zijlstra <peterz@infradead.org> | ||
28 | Cc: Suzuki Poulouse <suzuki.poulose@arm.com> | ||
29 | Cc: Tor Jeremiassen <tor@ti.com> | ||
30 | Cc: linux-arm-kernel@lists.infradead.org | ||
31 | Link: http://lore.kernel.org/lkml/20200505133642.4756-1-leo.yan@linaro.org | ||
32 | Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> | ||
33 | --- | ||
34 | tools/perf/util/cs-etm.c | 3 +++ | ||
35 | tools/perf/util/cs-etm.h | 3 --- | ||
36 | 2 files changed, 3 insertions(+), 3 deletions(-) | ||
37 | |||
38 | diff --git a/tools/perf/util/cs-etm.c b/tools/perf/util/cs-etm.c | ||
39 | index 3c802fde4954..c283223fb31f 100644 | ||
40 | --- a/tools/perf/util/cs-etm.c | ||
41 | +++ b/tools/perf/util/cs-etm.c | ||
42 | @@ -94,6 +94,9 @@ struct cs_etm_queue { | ||
43 | struct cs_etm_traceid_queue **traceid_queues; | ||
44 | }; | ||
45 | |||
46 | +/* RB tree for quick conversion between traceID and metadata pointers */ | ||
47 | +static struct intlist *traceid_list; | ||
48 | + | ||
49 | static int cs_etm__update_queues(struct cs_etm_auxtrace *etm); | ||
50 | static int cs_etm__process_queues(struct cs_etm_auxtrace *etm); | ||
51 | static int cs_etm__process_timeless_queues(struct cs_etm_auxtrace *etm, | ||
52 | diff --git a/tools/perf/util/cs-etm.h b/tools/perf/util/cs-etm.h | ||
53 | index 650ecc2a6349..4ad925d6d799 100644 | ||
54 | --- a/tools/perf/util/cs-etm.h | ||
55 | +++ b/tools/perf/util/cs-etm.h | ||
56 | @@ -114,9 +114,6 @@ enum cs_etm_isa { | ||
57 | CS_ETM_ISA_T32, | ||
58 | }; | ||
59 | |||
60 | -/* RB tree for quick conversion between traceID and metadata pointers */ | ||
61 | -struct intlist *traceid_list; | ||
62 | - | ||
63 | struct cs_etm_queue; | ||
64 | |||
65 | struct cs_etm_packet { | ||
66 | -- | ||
67 | 2.17.1 | ||
68 | |||