Repository navigation
Commit 516fb7f
committed
/proc/module: use the same logic as /proc/kallsyms for address exposure
The (alleged) users of the module addresses are the same: kernel
profiling.
So just expose the same helper and format macros, and unify the logic.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>1 parent 277642d commit 516fb7f
3 files changed
Lines changed: 27 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
17 | 25 | | |
18 | 26 | | |
19 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
581 | 581 | | |
582 | 582 | | |
583 | 583 | | |
584 | | - | |
585 | | - | |
586 | | - | |
587 | | - | |
588 | | - | |
589 | | - | |
590 | 584 | | |
591 | 585 | | |
592 | 586 | | |
| |||
640 | 634 | | |
641 | 635 | | |
642 | 636 | | |
643 | | - | |
| 637 | + | |
644 | 638 | | |
645 | 639 | | |
646 | 640 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4147 | 4147 | | |
4148 | 4148 | | |
4149 | 4149 | | |
| 4150 | + | |
4150 | 4151 | | |
4151 | 4152 | | |
4152 | 4153 | | |
| |||
4162 | 4163 | | |
4163 | 4164 | | |
4164 | 4165 | | |
4165 | | - | |
| 4166 | + | |
| 4167 | + | |
4166 | 4168 | | |
4167 | 4169 | | |
4168 | 4170 | | |
| |||
4184 | 4186 | | |
4185 | 4187 | | |
4186 | 4188 | | |
| 4189 | + | |
| 4190 | + | |
| 4191 | + | |
| 4192 | + | |
| 4193 | + | |
| 4194 | + | |
| 4195 | + | |
4187 | 4196 | | |
4188 | 4197 | | |
4189 | | - | |
| 4198 | + | |
| 4199 | + | |
| 4200 | + | |
| 4201 | + | |
| 4202 | + | |
| 4203 | + | |
| 4204 | + | |
| 4205 | + | |
4190 | 4206 | | |
4191 | 4207 | | |
4192 | 4208 | | |
| |||
0 commit comments