The following trace hook IDs are stored in the /usr/include/sys/trchkid.h file.
This event is recorded by the system loader's module load and unload related subroutines.
Recorded Data
ld_loadmodule | file=file
libpath=libpath |
unload_module | 32-bit/64-bit shared library PURGE |
ld_loadmodule | le=le_addr loadcount=loadcount usecount=usecount |
unload_loadmodule | le=le_addr loadcount=loadcount usecount=usecount |
libraries | pre_libpath=pre_libpath
libpath=libpath |
ld_get_domain | ld-->ld_name=ld_name |
ld_clean_domain | de-->de_fullname=de_fullname |
ld_unload_domain | ld-->ld_name=ld_name |
ld_unload_le | file=file le=le_addr le_file=le_file |
This event is recorded by the system loader's kernel extensions load and unload related subroutines.
Recorded Data
kmod_load | file=file
libpath=libpath |
kmod_unload | file=file |
kmod_load | le=le_addr loadcount=loadcount usecount=usecount |
file | The name of a file being loaded or unloaded |
pre_libpath | The libpath being used in pre-load pass |
libpath | The libpath being used for loading |
le_addr | The loader entry address |
loadcount | A value of loadcount of a loader entry |
usecount | A value of usecount of a loader entry |
ld_name | The name of a loader domain |
de_name | The name of a loader domain entry |
This event is recorded by the system loader's ld_execload subroutine.
Recorded Data
ld_execload | file = file
pid = pid la-->lib_text_sid = lib_text_sid la-->lib_data_sid = lib_data_sid la-->lib_le_sid = lib_le_sid |
file | The name of a file being executed |
pid | The process ID of the loading process |
lib_text_sid | The shared library text segment ID |
lib_data_sid | The shared library data segmdnet ID |
lib_le_sid | The loader entry segment ID |
This event is recorded by the system loader's routines whenever errors occur.
Recorded Data
loadmodule | rc= rc reason = reason |
kmod_load | reason = reason |
kmod_unload | rc= rc |
execload | pid = pid rc= rc reason = reason |
ld_get_domain | reason = reason |
ld_resolve_error | symbol number= symbol_number reason = reason |
ld_relocate_error | LDREL[index_number].l_vaddr = symbol_address |
rc | return code |
reason | reason code |
symbol number | symbol number |
symbol_address | symbol address |
index_number | index |
This event is recorded by the system loader's check point restart related routines.
Recorded Data
ld_cr_adspace32 | library_text_sid = lib_text_sid library_data_sid = lib_data_sid |
enlarge_sh_cr_textheap | lib64->shlib_text_sid = lib_text_sid |
enlarge_sh_cr_dataheap | lib64->shlib_data_sid = lib_data_sid |
lib_text_sid | shared library text segment ID |
lib_data_sid | shared library data segment ID |