summaryrefslogtreecommitdiffstats
path: root/sys/dev/ksyms/ksyms.c
Commit message (Collapse)AuthorAgeFilesLines
* Update d_mmap() to accept vm_ooffset_t and vm_memattr_t.rnoland2009-12-291-2/+2
| | | | | | | | | | | | | This replaces d_mmap() with the d_mmap2() implementation and also changes the type of offset to vm_ooffset_t. Purge d_mmap2(). All driver modules will need to be rebuilt since D_VERSION is also bumped. Reviewed by: jhb@ MFC after: Not in this lifetime...
* (S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument.antoine2009-12-281-1/+1
| | | | | | | | | Fix some wrong usages. Note: this does not affect generated binaries as this argument is not used. PR: 137213 Submitted by: Eygene Ryabinkin (initial version) MFC after: 1 month
* strict kobj signatures: linker_if fixesavg2009-06-111-2/+3
| | | | | | | | in symtab_get method symtab parameter is made constant as this reflects actual intention and usage of the method Reviewed by: imp, current@ Approved by: jhb (mentor)
* Remove another d_thread_t use that crept in.jhb2009-06-011-1/+1
|
* Change from using vm_map_delete() to vm_map_remove().sson2009-05-271-16/+2
| | | | | Approved by: gnn (mentor) Obtained from: kib
* Add the ksyms(4) pseudo driver. The ksyms driver allows a process tosson2009-05-261-0/+678
get a quick snapshot of the kernel's symbol table including the symbols from any loaded modules (the symbols are all merged into one symbol table). Unlike like other implementations, this ksyms driver maps memory in the process memory space to store the snapshot at the time /dev/ksyms is opened. It also checks to see if the process has already a snapshot open and won't allow it to open /dev/ksyms it again until it closes first. This prevents kernel and process memory from being exhausted. Note that /dev/ksyms is used by the lockstat(1) command. Reviewed by: gallatin kib (freebsd-arch) Approved by: gnn (mentor)
OpenPOWER on IntegriCloud