aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorRobert Peterson <[email protected]>2007-04-30 15:09:48 -0700
committerLinus Torvalds <[email protected]>2007-04-30 16:40:39 -0700
commit42e380832a6911c8a3173ee0172fbc0e4864d80b (patch)
treef336312f9476b62bc6f00a85d5506b1cd1c18d4f /scripts/patch-kernel
parentde34ed91c4ffa4727964a832c46e624dd1495cf5 (diff)
Extend print_symbol capability
Today's print_symbol function dumps a kernel symbol with printk. This patch extends the functionality of kallsyms.c so that the symbol lookup function may be used without the printk. This is useful for modules that want to dump symbols elsewhere, for example, to debugfs. I intend to use the new function call in the GFS2 file system (which will be a separate patch). [[email protected]: build fix] [[email protected]: sprint_symbol should return length of string like sprintf] Signed-off-by: Robert Peterson <[email protected]> Cc: Rusty Russell <[email protected]> Cc: Roman Zippel <[email protected]> Cc: "Randy.Dunlap" <[email protected]> Cc: Sam Ravnborg <[email protected]> Acked-by: Paulo Marques <[email protected]> Signed-off-by: Christoph Lameter <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions