Adrian Hunter
67199c26a0
perf kcore_copy: Do not check /proc/modules is unchanged
...
[ Upstream commit 5b427df27b94aec1312cace48a746782a0925c53 ]
/proc/kallsyms and /proc/modules are compared before and after the copy
in order to ensure no changes during the copy.
However /proc/modules also might change due to reference counts changing
even though that does not make any difference.
Any modules loaded or unloaded should be visible in changes to kallsyms,
so it is not necessary to check /proc/modules also anyway.
Remove the comparison checking that /proc/modules is unchanged.
Fixes: fc1b691d7651d949 ("perf buildid-cache: Add ability to add kcore to the cache")
Reported-by: Daniel Dao <dqminh@cloudflare.com>
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Tested-by: Daniel Dao <dqminh@cloudflare.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/r/20220914122429.8770-1-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-09-28 11:04:07 +02:00
..
2019-08-28 18:14:57 -03:00
2019-09-20 09:19:20 -03:00
2019-06-25 18:31:12 -03:00
2021-06-03 08:59:00 +02:00
2019-09-20 09:19:20 -03:00
2020-11-18 19:20:33 +01:00
2019-10-15 12:00:01 -03:00
2019-09-30 17:30:06 -03:00
2019-03-11 11:56:02 -03:00
2019-09-20 09:19:21 -03:00
2021-04-28 13:19:15 +02:00
2019-09-25 09:51:44 -03:00
2019-01-25 15:12:09 +01:00
2019-01-25 15:12:09 +01:00
2019-02-19 16:11:56 -03:00
2019-02-19 16:11:56 -03:00
2021-11-26 10:47:18 +01:00
2019-09-20 09:19:22 -03:00
2019-09-25 09:51:48 -03:00
2019-07-29 18:34:42 -03:00
2019-08-31 19:10:19 -03:00
2019-09-20 09:19:20 -03:00
2019-09-20 09:19:20 -03:00
2019-09-25 16:26:34 -03:00
2019-09-25 09:51:49 -03:00
2019-07-29 18:34:42 -03:00
2019-08-29 17:38:32 -03:00
2019-08-26 11:58:29 -03:00
2019-07-09 10:13:27 -03:00
2019-06-05 17:36:37 +02:00
2019-09-20 09:19:22 -03:00
2019-09-20 09:19:21 -03:00
2019-08-14 10:48:39 -03:00
2019-08-14 10:59:59 -03:00
2019-08-31 22:24:10 -03:00
2019-07-29 18:34:42 -03:00
2019-09-20 09:19:20 -03:00
2019-08-31 22:24:10 -03:00
2019-08-31 22:24:10 -03:00
2019-01-25 15:12:08 +01:00
2019-07-09 10:13:26 -03:00
2019-01-25 15:12:09 +01:00
2019-05-15 16:36:49 -03:00
2019-08-31 22:24:10 -03:00
2019-10-15 12:05:18 -03:00
2019-09-25 09:51:49 -03:00
2019-07-29 18:34:42 -03:00
2019-08-22 17:16:56 -03:00
2019-02-06 10:00:39 -03:00
2020-10-01 13:17:46 +02:00
2019-08-29 08:36:12 -03:00
2019-08-22 17:16:57 -03:00
2019-08-31 19:10:40 -03:00
2020-10-17 10:11:21 +02:00
2020-10-17 10:11:21 +02:00
2019-09-20 15:58:11 -03:00
2022-03-02 11:41:05 +01:00
2022-06-14 18:11:34 +02:00
2019-08-31 22:24:10 -03:00
2019-07-29 18:34:42 -03:00
2022-01-27 09:19:54 +01:00
2019-09-20 09:19:20 -03:00
2019-09-20 09:19:20 -03:00
2019-09-20 09:19:20 -03:00
2021-07-28 13:30:54 +02:00
2020-06-22 09:31:27 +02:00
2019-08-31 22:24:10 -03:00
2019-08-31 22:24:10 -03:00
2018-12-28 16:33:02 -03:00
2018-12-28 16:33:02 -03:00
2020-12-02 08:49:54 +01:00
2019-12-31 16:45:41 +01:00
2019-09-20 09:19:20 -03:00
2021-11-26 10:47:18 +01:00
2021-11-26 10:47:18 +01:00
2021-03-04 10:26:32 +01:00
2019-09-20 09:19:22 -03:00
2019-08-31 22:24:10 -03:00
2020-09-23 12:40:41 +02:00
2019-09-25 16:26:40 -03:00
2019-09-25 16:26:40 -03:00
2019-09-25 16:26:34 -03:00
2019-09-25 16:26:34 -03:00
2020-10-01 13:18:05 +02:00
2019-09-25 16:26:40 -03:00
2019-08-15 12:26:13 -03:00
2019-08-15 12:25:55 -03:00
2021-04-16 11:46:38 +02:00
2019-01-08 13:28:13 -03:00
2019-08-29 17:38:32 -03:00
2022-09-28 11:04:07 +02:00
2022-09-28 11:04:07 +02:00
2019-08-26 11:58:29 -03:00
2019-07-09 10:13:26 -03:00
2020-01-12 12:21:25 +01:00
2019-09-20 10:28:21 -03:00
2019-07-09 10:13:26 -03:00
2019-11-05 08:49:14 -03:00
2021-12-08 09:01:10 +01:00
2019-09-25 09:51:47 -03:00
2019-06-05 17:36:37 +02:00
2021-06-03 08:59:00 +02:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:37:04 +02:00
2019-01-25 15:12:10 +01:00
2019-09-30 17:29:49 -03:00
2019-06-19 17:09:51 +02:00
2019-09-20 10:28:26 -03:00
2021-07-14 16:53:48 +02:00
2019-08-29 17:38:32 -03:00
2021-07-28 13:30:54 +02:00
2021-09-22 12:26:41 +02:00
2019-09-20 09:19:22 -03:00
2019-08-16 12:25:57 -03:00
2019-02-06 10:00:38 -03:00
2021-08-04 12:27:40 +02:00
2019-07-29 18:34:42 -03:00
2020-10-01 13:17:58 +02:00
2019-08-31 19:10:40 -03:00
2019-08-31 22:27:48 -03:00
2019-08-31 22:27:48 -03:00
2019-09-20 09:19:22 -03:00
2020-10-01 13:18:06 +02:00
2019-08-31 22:27:52 -03:00
2019-09-25 09:51:49 -03:00
2019-09-25 09:51:46 -03:00
2019-09-20 10:28:21 -03:00
2019-09-20 10:28:21 -03:00
2019-08-31 19:10:19 -03:00
2018-12-17 15:02:17 -03:00
2019-08-31 19:10:19 -03:00
2020-10-01 13:18:12 +02:00
2019-08-14 10:59:59 -03:00
2019-08-14 10:59:59 -03:00
2021-04-16 11:46:38 +02:00
2020-12-30 11:51:28 +01:00
2019-05-15 16:36:49 -03:00
2019-08-31 22:24:10 -03:00
2019-08-31 22:24:10 -03:00
2019-09-25 16:26:34 -03:00
2019-05-16 14:17:12 -03:00
2020-01-04 19:18:27 +01:00
2019-09-20 09:19:20 -03:00
2019-05-28 18:37:44 -03:00
2020-09-23 12:40:41 +02:00
2020-09-23 12:40:41 +02:00
2020-11-05 11:43:32 +01:00
2022-02-16 12:52:50 +01:00
2019-05-25 23:04:42 -04:00
2021-07-28 13:30:54 +02:00
2019-05-25 23:04:42 -04:00
2020-08-26 10:40:48 +02:00
2019-06-25 21:02:47 -03:00
2019-08-31 19:10:19 -03:00
2019-09-25 16:26:34 -03:00
2019-09-30 17:29:57 -03:00
2019-01-25 15:12:10 +01:00
2019-06-05 17:37:04 +02:00
2019-01-25 15:12:10 +01:00
2019-09-25 09:51:48 -03:00
2019-08-26 11:58:22 -03:00
2019-07-09 14:59:11 -03:00
2019-07-09 14:59:11 -03:00
2019-09-20 09:19:20 -03:00
2019-01-21 17:00:48 -03:00
2019-09-20 09:19:21 -03:00
2019-09-20 09:19:20 -03:00
2019-07-29 18:34:42 -03:00
2019-07-29 18:34:42 -03:00
2022-04-15 14:18:38 +02:00
2019-09-20 09:19:22 -03:00
2019-07-09 10:13:26 -03:00
2019-08-14 10:48:39 -03:00
2019-06-10 16:20:11 -03:00
2020-10-01 13:18:06 +02:00
2019-08-31 22:24:10 -03:00
2019-09-25 09:51:48 -03:00
2019-02-06 10:00:38 -03:00
2020-06-03 08:21:39 +02:00
2019-01-25 15:12:09 +01:00
2020-12-02 08:49:54 +01:00
2020-02-19 19:53:08 +01:00
2020-07-22 09:33:05 +02:00
2019-09-20 10:28:26 -03:00
2019-08-31 19:10:19 -03:00
2019-07-09 10:13:26 -03:00
2019-07-01 22:50:40 -03:00
2019-07-01 22:50:40 -03:00
2019-07-09 10:13:26 -03:00
2019-01-25 15:12:10 +01:00
2019-09-20 09:19:21 -03:00
2019-08-29 17:38:31 -03:00
2019-07-02 13:20:51 -03:00
2021-05-14 09:44:26 +02:00
2022-09-28 11:04:07 +02:00
2019-09-20 09:19:20 -03:00
2022-03-23 09:12:07 +01:00
2019-08-31 22:27:48 -03:00
2019-08-31 22:24:05 -03:00
2019-09-25 09:51:48 -03:00
2019-09-20 09:19:22 -03:00
2019-07-29 18:34:42 -03:00
2019-07-29 18:34:42 -03:00
2019-09-20 09:19:20 -03:00
2019-08-29 08:36:12 -03:00
2019-08-29 08:36:12 -03:00
2019-08-31 19:10:19 -03:00
2019-06-17 20:48:14 +02:00
2019-08-31 22:24:10 -03:00
2019-08-26 19:39:11 -03:00
2020-01-23 08:23:01 +01:00
2020-01-23 08:23:01 +01:00
2019-08-26 19:39:11 -03:00
2019-09-25 09:51:48 -03:00
2019-08-31 22:24:10 -03:00
2019-09-25 09:51:48 -03:00
2019-11-05 08:39:27 -03:00
2021-03-17 17:03:37 +01:00
2019-08-29 17:38:32 -03:00
2019-09-20 09:19:20 -03:00
2019-11-05 08:39:27 -03:00
2019-08-29 17:38:32 -03:00
2019-09-20 09:19:22 -03:00
2021-05-28 13:10:27 +02:00
2019-09-20 09:19:20 -03:00
2019-08-31 22:24:10 -03:00
2019-08-16 12:25:57 -03:00
2019-09-20 09:19:20 -03:00
2021-12-08 09:01:10 +01:00
2021-12-08 09:01:10 +01:00
2019-08-31 19:10:19 -03:00
2019-09-20 09:19:20 -03:00
2019-07-09 10:13:26 -03:00
2019-09-20 09:19:20 -03:00
2021-04-16 11:46:38 +02:00