Casey Chen
7e43195c60
alloc_tag: remove empty module tag section
...
The empty MOD_CODETAG_SECTIONS() macro added an incomplete .data section
in module linker script, which caused symbol lookup tools like gdb to
misinterpret symbol addresses e.g., __ib_process_cq incorrectly mapping to
unrelated functions like below.
(gdb) disas __ib_process_cq
Dump of assembler code for function trace_event_fields_cq_schedule:
Removing the empty section restores proper symbol resolution and layout,
ensuring .data placement behaves as expected.
Link: https://lkml.kernel.org/r/20250610162258.324645-1-cachen@purestorage.com
Fixes: 0db6f8d7820a ("alloc_tag: load module tags into separate contiguous memory")
22d407b164ff ("lib: add allocation tagging support for memory allocation profiling")
Signed-off-by: Casey Chen <cachen@purestorage.com>
Reviewed-by: Yuanyuan Zhong <yzhong@purestorage.com>
Acked-by: Suren Baghdasaryan <surenb@google.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Kent Overstreet <kent.overstreet@linux.dev>
Cc: Luis Chamberalin <mcgrof@kernel.org>
Cc: Pasha Tatashin <pasha.tatashin@soleen.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2025-07-09 22:42:03 -07:00
..
2024-06-05 15:52:34 +02:00
2025-03-15 21:22:52 +09:00
2025-05-08 09:42:06 -07:00
2025-03-15 21:16:21 +09:00
2025-04-01 10:06:52 -07:00
2024-09-05 10:17:03 -05:00
2025-06-01 11:37:01 -07:00
2025-06-25 15:55:03 -07:00
2025-06-16 00:49:48 +09:00
2025-06-07 14:38:07 +09:00
2024-10-07 02:12:27 +09:00
2024-11-19 13:57:03 -08:00
2025-06-06 05:40:25 +09:00
2025-05-21 03:53:40 -06:00
2025-05-25 18:15:51 +09:00
2025-05-12 15:03:17 +09:00
2025-03-07 14:38:34 -05:00
2025-03-20 07:02:21 -04:00
2024-12-11 20:13:00 -08:00
2025-05-09 11:31:23 -07:00
2024-07-16 01:08:37 +09:00
2024-02-23 12:13:09 +01:00
2023-12-29 22:25:20 +09:00
2024-05-02 10:14:52 -06:00
2025-05-31 19:12:53 -07:00
2023-12-29 12:22:28 -08:00
2024-07-29 15:34:22 -06:00
2024-11-28 08:10:23 +09:00
2025-03-15 21:22:42 +09:00
2024-10-09 13:39:11 +02:00
2025-01-12 19:03:34 -08:00
2023-12-29 12:22:25 -08:00
2024-11-27 09:38:27 +09:00
2025-02-10 11:19:56 -07:00
2025-03-16 22:30:46 -07:00
2024-10-17 15:16:04 -07:00
2025-04-24 10:12:46 -06:00
2024-12-11 20:13:00 -08:00
2025-03-10 09:29:08 -07:00
2025-03-15 21:22:52 +09:00
2025-05-25 22:59:47 +02:00
2025-05-12 00:20:25 +02:00
2025-02-10 11:19:57 -07:00
2025-03-12 16:25:50 -06:00
2025-03-16 22:30:49 -07:00
2024-09-01 17:59:01 -07:00
2025-04-25 15:54:24 +02:00
2023-12-29 22:25:20 +09:00
2024-12-10 12:04:19 +00:00
2024-05-07 08:55:23 +10:00
2024-07-20 13:34:54 +09:00
2025-03-07 19:58:05 -08:00
2025-02-18 10:16:04 +01:00
2024-11-27 09:38:27 +09:00
2024-10-13 22:22:28 +02:00
2025-04-09 12:10:34 -06:00
2025-04-09 12:10:34 -06:00
2025-04-09 12:10:34 -06:00
2024-07-15 03:13:32 +09:00
2024-02-29 13:38:03 -08:00
2025-04-05 15:46:50 -07:00
2024-09-01 20:43:28 -07:00
2025-03-27 14:03:32 -05:00
2025-01-31 12:07:07 -08:00
2024-07-18 10:01:55 -07:00
2024-11-27 09:38:27 +09:00
2025-04-15 11:17:50 -07:00
2025-06-07 10:05:35 -07:00
2025-03-04 09:40:13 -08:00
2024-11-28 08:10:23 +09:00
2025-05-31 08:16:52 -07:00
2024-04-02 17:41:22 +02:00
2025-01-10 23:01:21 +09:00
2024-06-26 00:18:57 +09:00
2024-09-30 20:42:52 +09:00
2025-05-28 07:47:10 -07:00
2025-05-31 08:16:52 -07:00
2024-11-28 08:11:55 +09:00
2024-09-16 18:04:37 +02:00
2025-06-02 16:00:26 -07:00
2025-06-07 10:05:35 -07:00
2024-11-28 08:11:55 +09:00
2025-01-18 08:52:09 +09:00
2025-01-11 02:36:32 +09:00
2024-10-31 21:40:46 +09:00
2024-11-27 09:38:27 +09:00
2025-05-29 08:10:01 -07:00
2024-05-21 12:09:36 -07:00
2025-05-12 15:04:52 +09:00
2025-05-12 15:04:52 +09:00
2025-04-30 21:53:35 +02:00
2025-06-16 00:41:40 +09:00
2024-12-28 23:23:52 +09:00
2024-09-07 17:24:08 +09:00
2025-07-09 22:42:03 -07:00
2024-12-03 08:22:25 -08:00
2024-02-22 15:38:54 -08:00
2024-10-03 16:07:51 -04:00
2024-07-10 10:28:52 +02:00
2024-11-12 21:26:54 +01:00
2024-11-12 21:26:54 +01:00
2025-01-10 00:17:00 +01:00
2024-10-28 00:27:16 +01:00
2024-09-05 22:44:18 +02:00
2025-05-23 00:12:14 +02:00
2025-05-23 00:12:14 +02:00
2024-11-28 08:11:56 +09:00
2025-03-15 21:19:44 +09:00
2024-09-20 19:52:48 +03:00
2025-04-02 09:51:26 -04:00
2025-01-08 15:38:33 +01:00
2025-05-11 17:54:10 -07:00
2024-09-05 14:32:36 -06:00
2024-09-20 19:49:52 +03:00
2024-09-10 13:56:37 +09:00
2025-02-12 12:12:28 +01:00
2024-06-28 15:23:38 +02:00
2025-06-06 05:40:25 +09:00
2024-04-23 00:09:41 +09:00
2024-09-20 09:21:52 +09:00
2024-09-01 20:43:27 -07:00