Date: Fri, 15 Jun 2001 13:27:45 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha db_trace.c Message-ID: <200106152027.f5FKRjT37328@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2001/06/15 13:27:45 PDT
Modified files:
sys/alpha/alpha db_trace.c
Log:
Updates and tweaks to the new trace functionality:
- Use db_printf() instead of printf().
- Clean up decode_syscall() to use regular if-then-else rather than goto's.
- Use the same method of parsing PID's for per-process traces as the x86
code does: that is, if the address passed in is not a valid kernel
address, treat it is a decimal pid.
- If the pid of the current process is specified, fall back to using the
"default" parameters for the trace as curproc's pcb is not valid at this
point.
MFC after: 1 week
Revision Changes Path
1.6 +45 -38 src/sys/alpha/alpha/db_trace.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106152027.f5FKRjT37328>
