History log of /freebsd-10.0-release/usr.sbin/asf/asf.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 165372 20-Dec-2006 yar

Allow for module-path being a semicolon-separated list of dirs.
This is consistent with kern.module_path sysctl and also compensates
for the unconventional syntax of asf(8) where the last of multiple
arguments is the output file, which prevents us from using the
traditional Unix syntax "foo file ..." to specify multiple module
dirs.

Submitted by: emaste
MFC after: 1 week


# 162796 29-Sep-2006 ru

Whitespace nit.


# 159776 19-Jun-2006 yar

There is a plenty of arch's out there where sizeof(size_t) != sizeof(int).
A field width in printf(3) must be int, so cast return value from strlen()
to the type.

Noticed by: Andrzej Tobola <ato iem pw edu pl>; tinderbox
Pointy hat to: yar
X-MFC with: the rest of the new asf code


# 159720 18-Jun-2006 yar

Give a major overhaul to asf(8).

The improvements are:

- can get the kld info from core files via kvm(3);
- can use kldstat(2) directly, which is a piece of cake;
- can use .symbols or whatever, which allows for use by
non-developers when reporting system crashes -- now asf(8)
can be mentioned in the handbook at last;
- speed (no more double fts(3) per loaded module);
- various bugs fixed.

At the same time, the new asf(8) should stay compatible with
the old one, bar bugs. Perhaps some defaults may be changed
later to match today's state of affairs.

Reviewed by: grog
MFC after: 1 month
Sponsored by: RiNet (Cronyx Plus LLC)


# 150411 21-Sep-2005 grog

Initialize uninitialized variables.

PR: 71653
Submitted by: Dan Lukes <dan@obluda.cz>


# 150410 21-Sep-2005 grog

Remove one possible way of shooting yourself in the foot.

Submitted by: Ulrich Sperlein <q@galgenberg.net>


# 122033 04-Nov-2003 green

Add a "-f" flag for asf(8) which performs a search to find the each module
no matter where in the directory structure it may be. Use this and the "-k"
flag in the generated gdbinit files so that the "getsyms" function in gdb
requires no user intervention to run and will find every module if they're
in the kernel build's module directory. This is still quite useful for
cases where gdb knows that the path for some modules is /boot/kernel and
others are in the object directory for /usr/src/sys/$ARCH/compile/kernel.

Approved by: grog


# 120430 25-Sep-2003 simokawa

Add -s option to strip subdirectory from module path.
e.g. moudle-path/firewire/firewire.ko -> module-path/firewire.ko

Reviewed by: grog


# 116017 08-Jun-2003 jmallett

WARNS cleanup. Constness and shadowing, namely.


# 116016 08-Jun-2003 jmallett

Fix format string.


# 116014 08-Jun-2003 grog

Add licence.

Complained about by: juli

Correct usage() text.


# 116009 08-Jun-2003 grog

Introducing asf, a helper program for kernel debugging.