[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZIIrwo54fXemsGQo@bombadil.infradead.org>
Date: Thu, 8 Jun 2023 12:28:02 -0700
From: Luis Chamberlain <mcgrof@...nel.org>
To: Maninder Singh <maninder1.s@...sung.com>
Cc: ast@...nel.org, daniel@...earbox.net, john.fastabend@...il.com,
andrii@...nel.org, martin.lau@...ux.dev, song@...nel.org,
yhs@...com, kpsingh@...nel.org, sdf@...gle.com, haoluo@...gle.com,
jolsa@...nel.org, thunder.leizhen@...wei.com, boqun.feng@...il.com,
vincenzopalazzodev@...il.com, ojeda@...nel.org, jgross@...e.com,
brauner@...nel.org, michael.christie@...cle.com,
samitolvanen@...gle.com, glider@...gle.com, peterz@...radead.org,
keescook@...omium.org, stephen.s.brennan@...cle.com,
alan.maguire@...cle.com, pmladek@...e.com,
linux-kernel@...r.kernel.org, bpf@...r.kernel.org,
Onkarnath <onkarnath.1@...sung.com>
Subject: Re: [PATCH v5 2/2] kallsyms: make kallsyms_show_value() as generic
function
On Thu, Jun 08, 2023 at 09:01:19AM +0530, Maninder Singh wrote:
> This change makes function kallsyms_show_value() as
> generic function without dependency on CONFIG_KALLSYMS.
>
> Now module address will be displayed with lsmod and /proc/modules.
>
> Earlier:
> =======
> / # insmod test.ko
> / # lsmod
> test 12288 0 - Live 0x0000000000000000 (O) // No Module Load address
> / #
>
> With change:
> ==========
> / # insmod test.ko
> / # lsmod
> test 12288 0 - Live 0xffff800000fc0000 (O) // Module address
> / # cat /proc/modules
> test 12288 0 - Live 0xffff800000fc0000 (O)
>
> Co-developed-by: Onkarnath <onkarnath.1@...sung.com>
> Signed-off-by: Onkarnath <onkarnath.1@...sung.com>
> Signed-off-by: Maninder Singh <maninder1.s@...sung.com>
> Reviewed-by: Zhen Lei <thunder.leizhen@...wei.com>
Thanks! Pushed to modules-next.
Luis
Powered by blists - more mailing lists