Searched hist:cdd475b3473479c1f7340d05ed3774f68ada577a (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/sys/ |
H A D | linker.h | diff cdd475b3473479c1f7340d05ed3774f68ada577a Sat Dec 01 20:24:28 CET 2007 Robert Watson <rwatson@FreeBSD.org> The kernel linker includes a number of utility functions to look up symbol information in support of DDB(4); these functions bypass normal linker locking as they may run in contexts where locking is unsafe (such as the kernel debugger).
Add a new interface linker_ddb_search_symbol_name(), which looks up a symbol name and offset given an address, and also linker_search_symbol_name() which does the same but *does* follow the locking conventions of the linker.
Unlike existing functions, these functions place the name in a caller-provided buffer, which is stable even after linker locks have been released. These functions will be used in upcoming revisions to stack(9) to support kernel stack trace generation in contexts as part of a live, rather than suspended, kernel. diff cdd475b3473479c1f7340d05ed3774f68ada577a Sat Dec 01 20:24:28 CET 2007 Robert Watson <rwatson@FreeBSD.org> The kernel linker includes a number of utility functions to look up symbol information in support of DDB(4); these functions bypass normal linker locking as they may run in contexts where locking is unsafe (such as the kernel debugger).
Add a new interface linker_ddb_search_symbol_name(), which looks up a symbol name and offset given an address, and also linker_search_symbol_name() which does the same but *does* follow the locking conventions of the linker.
Unlike existing functions, these functions place the name in a caller-provided buffer, which is stable even after linker locks have been released. These functions will be used in upcoming revisions to stack(9) to support kernel stack trace generation in contexts as part of a live, rather than suspended, kernel.
|
/freebsd/sys/kern/ |
H A D | kern_linker.c | diff cdd475b3473479c1f7340d05ed3774f68ada577a Sat Dec 01 20:24:28 CET 2007 Robert Watson <rwatson@FreeBSD.org> The kernel linker includes a number of utility functions to look up symbol information in support of DDB(4); these functions bypass normal linker locking as they may run in contexts where locking is unsafe (such as the kernel debugger).
Add a new interface linker_ddb_search_symbol_name(), which looks up a symbol name and offset given an address, and also linker_search_symbol_name() which does the same but *does* follow the locking conventions of the linker.
Unlike existing functions, these functions place the name in a caller-provided buffer, which is stable even after linker locks have been released. These functions will be used in upcoming revisions to stack(9) to support kernel stack trace generation in contexts as part of a live, rather than suspended, kernel. diff cdd475b3473479c1f7340d05ed3774f68ada577a Sat Dec 01 20:24:28 CET 2007 Robert Watson <rwatson@FreeBSD.org> The kernel linker includes a number of utility functions to look up symbol information in support of DDB(4); these functions bypass normal linker locking as they may run in contexts where locking is unsafe (such as the kernel debugger).
Add a new interface linker_ddb_search_symbol_name(), which looks up a symbol name and offset given an address, and also linker_search_symbol_name() which does the same but *does* follow the locking conventions of the linker.
Unlike existing functions, these functions place the name in a caller-provided buffer, which is stable even after linker locks have been released. These functions will be used in upcoming revisions to stack(9) to support kernel stack trace generation in contexts as part of a live, rather than suspended, kernel.
|