History log of /netbsd/sys/kern/kern_ksyms.c (Results 51 – 75 of 108)
Revision Date Author Comments
# 0ede0628 14-Mar-2010 darran <darran@NetBSD.org>

DTrace: Make the CTF handling conditional on KDTRACE_HOOKS for now since
it breaks the boot of the atari kernel (and possibly others).


# e8cb6862 13-Mar-2010 christos <christos@NetBSD.org>

make this compile.


# 38c72d33 12-Mar-2010 darran <darran@NetBSD.org>

DTrace: Add support for CTF sections in the netbsd elf image, load these
at boot.
Add a ksyms_mod_foreach() function to iterate a callback function over the
set of elf symbols for a specific module (

DTrace: Add support for CTF sections in the netbsd elf image, load these
at boot.
Add a ksyms_mod_foreach() function to iterate a callback function over the
set of elf symbols for a specific module (netbsd included).
Add kern_ctf.c and mod_ctf_get() to allow the retrieval and decompression
of CTF sections for a specific module.

show more ...


# c9e0343f 01-Mar-2010 darran <darran@NetBSD.org>

Revert accidental commit of CTF work-in-progress changes.


# 6a9056a9 01-Mar-2010 darran <darran@NetBSD.org>

DTrace: Add an SDT (Statically Defined Tracing) provider framework, and
implement most of the proc provider. Adds proc:::create, exec,
exec_success, exec_faillure, signal_send, signal_discard, signa

DTrace: Add an SDT (Statically Defined Tracing) provider framework, and
implement most of the proc provider. Adds proc:::create, exec,
exec_success, exec_faillure, signal_send, signal_discard, signal_handle,
lwp_create, lwp_start, lwp_exit.

show more ...


# af120bb1 31-Jan-2010 hubertf <hubertf@NetBSD.org>

Replace more printfs with aprint_normal / aprint_verbose
Makes "boot -z" go mostly silent for me.


# 5fc3d701 25-Nov-2009 pooka <pooka@NetBSD.org>

Remove highly questionable assert which demans that the kernel symbol
table is in memory at a lower address than the string table.


# b8817e4a 15-Mar-2009 cegger <cegger@NetBSD.org>

ansify function definitions


# f084134a 23-Jan-2009 jmmv <jmmv@NetBSD.org>

Initialize SYMTAB_SPACE ksyms during ksyms_init. Per PR port-evbarm/40311.


# f671460f 01-Jan-2009 pooka <pooka@NetBSD.org>

_KERNEL_OPT


# e91b9bcc 05-Dec-2008 ad <ad@NetBSD.org>

Make the fake ELF object work with gdb.

- Output a .bss section and make all the symbols relative to it, instead
of making them absolute.
- Output a single load section, no need for two.

'gdb /de

Make the fake ELF object work with gdb.

- Output a .bss section and make all the symbols relative to it, instead
of making them absolute.
- Output a single load section, no need for two.

'gdb /dev/ksyms' still doesn't work because ksyms doesn't do mmap yet.

show more ...


# 719a906e 30-Nov-2008 martin <martin@NetBSD.org>

As discussed on tech-kern: mutex_init is too heavyweight for early bootstrap
phases, so move the initialization of the ksyms mutex back into main via
a function called ksyms_init. Rename the existing

As discussed on tech-kern: mutex_init is too heavyweight for early bootstrap
phases, so move the initialization of the ksyms mutex back into main via
a function called ksyms_init. Rename the existing (but quite different)
ksyms_init* variations into ksyms_addsyms_elf() and ksyms_addsyms_explicit()
and adapt machdep code accordingly.

show more ...


# c6555ead 16-Nov-2008 ad <ad@NetBSD.org>

Our qsort() is inappropriate for kernel use because it makes recursive
calls. Replace it with a kheapsort() function in kernel. Pointed out
by tron@.


# 7bdea38e 16-Nov-2008 ad <ad@NetBSD.org>

Remove unneeded includes.


# b7667406 16-Nov-2008 ad <ad@NetBSD.org>

Fix ksyms_getname() broken in previous.


# 9485f423 16-Nov-2008 ad <ad@NetBSD.org>

- Local symbols could shadow globals in some instances. Fix it.

- mutex_enter() from ksyms_getval() could panic due to a change made
in revision 1.40. Fix it.

- Replace the p-tree with a binary s

- Local symbols could shadow globals in some instances. Fix it.

- mutex_enter() from ksyms_getval() could panic due to a change made
in revision 1.40. Fix it.

- Replace the p-tree with a binary search of global symbols. Saves about
250kB of wired memory on i386 and allows for faster lookups within
module symbol tables.

show more ...


# 0efea177 12-Nov-2008 ad <ad@NetBSD.org>

Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.


# bc44c7d7 24-Oct-2008 christos <christos@NetBSD.org>

don't hold locks in ddb (call ksyms_getval_unlocked()), pointed out by ad.


# ff050754 23-Oct-2008 christos <christos@NetBSD.org>

don't expose ksyms_lock


# ee66516b 20-Oct-2008 ad <ad@NetBSD.org>

PR kern/38814 ksyms needs locking

- Make ksyms MT safe.
- Fix deadlock from an operation like "modload foo.lkm < /dev/ksyms".
- Fix uninitialized structure members.
- Reduce memory footprint for loa

PR kern/38814 ksyms needs locking

- Make ksyms MT safe.
- Fix deadlock from an operation like "modload foo.lkm < /dev/ksyms".
- Fix uninitialized structure members.
- Reduce memory footprint for loaded modules.
- Export ksyms structures for kernel grovellers like savecore.
- Some KNF.

show more ...


# af829727 10-Oct-2008 skrll <skrll@NetBSD.org>

RCSID police.


# 139d645e 06-Oct-2008 ad <ad@NetBSD.org>

PR kern/39681 ddb doesn't work with new MODULAR modules

Complete initialization of new symbol table record.


# 0f5d35d8 22-Jul-2008 christos <christos@NetBSD.org>

report local symbols too.


# e463f288 20-Feb-2008 matt <matt@NetBSD.org>

For each symtab, remember which symbols have the minimum and maximum value.
When returning a "close" symbol, make sure the value being searched for is
within the symtab. This prevents ddb matching a

For each symtab, remember which symbols have the minimum and maximum value.
When returning a "close" symbol, make sure the value being searched for is
within the symtab. This prevents ddb matching addresses beyond the end of
the kernel.

show more ...


# c0cd2b87 04-Jan-2008 ad <ad@NetBSD.org>

Ignore symbols marked undefined.


12345