History log of /freebsd/sys/ddb/db_ps.c (Results 126 – 150 of 206)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# efeaf95a 07-Dec-1995 David Greenman <dg@FreeBSD.org>

Untangled the vm.h include file spaghetti.


# d1dae4c8 27-Aug-1995 Bruce Evans <bde@FreeBSD.org>

Change db_ps() to have the correct number and type of args for a ddb
command.


# 8d05fa89 20-Aug-1995 David Greenman <dg@FreeBSD.org>

Make db_ps tolerant of uninitialized struct proc fields. Improved 'more'
function to work like you'd expect. Other misc cleanup.


Revision tags: release/2.0.5_cvs
# 9b2e5354 30-May-1995 Rodney W. Grimes <rgrimes@FreeBSD.org>

Remove trailing whitespace.


# 2e837708 04-Apr-1995 David Greenman <dg@FreeBSD.org>

Fixed the formatting breakage I added in the previous commit.


# 9f22c23d 29-Mar-1995 David Greenman <dg@FreeBSD.org>

Fixed DDB's "ps" output formatting.


Revision tags: release/2.0
# cdf03d9c 28-Sep-1994 Poul-Henning Kamp <phk@FreeBSD.org>

#include ddb.h not db_output.h


# 24e64448 27-Sep-1994 Poul-Henning Kamp <phk@FreeBSD.org>

Added include of <machine/cons.h> so that cngetc() gets declared.


# 3b281f53 27-Aug-1994 David Greenman <dg@FreeBSD.org>

ddb ps function from 1.1.5. Moved into its own file and cleaned up a bit
by me.


# 3745cc73 08-Jan-2010 Edward Tomasz Napierala <trasz@FreeBSD.org>

Replace several instances of 'if (!a & b)' with 'if (!(a &b))' in order
to silence newer GCC versions.


Revision tags: release/8.0.0_cvs, release/8.0.0
# 1ee774f6 02-Oct-2009 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

- MFC


# 3538cf0c 01-Oct-2009 John Baldwin <jhb@FreeBSD.org>

Put square backets ([]) around process names for system processes to patch
the behavior of ps(1).


Revision tags: release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0
# f15b761d 18-Jun-2008 Attilio Rao <attilio@FreeBSD.org>

Print out the container lock when showing the thread state in DDB.

Tested by: benjsc


# 9e340a61 25-Mar-2008 Sam Leffler <sam@FreeBSD.org>

enable dynamic addition of "show all" commands

MFC after: 3 weeks


Revision tags: release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0
# a0f4a3a6 16-Oct-2007 Marcel Moolenaar <marcel@FreeBSD.org>

Print the stack bounds of the thread.


# b61ce5b0 17-Sep-2007 Jeff Roberson <jeff@FreeBSD.org>

- Move all of the PS_ flags into either p_flag or td_flags.
- p_sflag was mostly protected by PROC_LOCK rather than the PROC_SLOCK or
previously the sched_lock. These bugs have existed for some

- Move all of the PS_ flags into either p_flag or td_flags.
- p_sflag was mostly protected by PROC_LOCK rather than the PROC_SLOCK or
previously the sched_lock. These bugs have existed for some time.
- Allow swapout to try each thread in a process individually and then
swapin the whole process if any of these fail. This allows us to move
most scheduler related swap flags into td_flags.
- Keep ki_sflag for backwards compat but change all in source tools to
use the new and more correct location of P_INMEM.

Reported by: pho
Reviewed by: attilio, kib
Approved by: re (kensmith)

show more ...


Revision tags: release/6.2.0_cvs, release/6.2.0
# ad1e7d28 06-Dec-2006 Julian Elischer <julian@FreeBSD.org>

Threading cleanup.. part 2 of several.

Make part of John Birrell's KSE patch permanent..
Specifically, remove:
Any reference of the ksegrp structure. This feature was
never fully utilised and made t

Threading cleanup.. part 2 of several.

Make part of John Birrell's KSE patch permanent..
Specifically, remove:
Any reference of the ksegrp structure. This feature was
never fully utilised and made things overly complicated.
All code in the scheduler that tried to make threaded programs
fair to unthreaded programs. Libpthread processes will already
do this to some extent and libthr processes already disable it.

Also:
Since this makes such a big change to the scheduler(s), take the opportunity
to rename some structures and elements that had to be moved anyhow.
This makes the code a lot more readable.

The ULE scheduler compiles again but I have no idea if it works.

The 4bsd scheduler still reqires a little cleaning and some functions that now do
ALMOST nothing will go away, but I thought I'd do that as a separate commit.

Tested by David Xu, and Dan Eischen using libthr and libpthread.

show more ...


# 8460a577 26-Oct-2006 John Birrell <jb@FreeBSD.org>

Make KSE a kernel option, turned on by default in all GENERIC
kernel configs except sun4v (which doesn't process signals properly
with KSE).

Reviewed by: davidxu@


# d25168e1 02-Aug-2006 John Baldwin <jhb@FreeBSD.org>

Fix two nits in the ps header that offset each other making them largely
unnoticable.


# 8b6d6867 01-Aug-2006 John Baldwin <jhb@FreeBSD.org>

Some cosmetic tweaks:
- Right justify 'pid' label.
- Move the uid column to the right 2 columns so that the 3 process id
columns (pid, ppid, pgrp) are grouped together.
- Expand the uid column to 5

Some cosmetic tweaks:
- Right justify 'pid' label.
- Move the uid column to the right 2 columns so that the 3 process id
columns (pid, ppid, pgrp) are grouped together.
- Expand the uid column to 5 chars.
- Don't indent the tid for multithreaded processes.

Requested by: bde (1, 2, 4)

show more ...


# 19e9205a 12-Jul-2006 John Baldwin <jhb@FreeBSD.org>

Simplify the pager support in DDB. Allowing different db commands to
install custom pager functions didn't actually happen in practice (they
all just used the simple pager and passed in a local quit

Simplify the pager support in DDB. Allowing different db commands to
install custom pager functions didn't actually happen in practice (they
all just used the simple pager and passed in a local quit pointer). So,
just hardcode the simple pager as the only pager and make it set a global
db_pager_quit flag that db commands can check when the user hits 'q' (or a
suitable variant) at the pager prompt. Also, now that it's easy to do so,
enable paging by default for all ddb commands. Any command that wishes to
honor the quit flag can do so by checking db_pager_quit. Note that the
pager can also be effectively disabled by setting $lines to 0.

Other fixes:
- 'show idt' on i386 and pc98 now actually checks the quit flag and
terminates early.
- 'show intr' now actually checks the quit flag and terminates early.

show more ...


Revision tags: release/5.5.0_cvs, release/5.5.0
# 10fd4534 11-May-2006 John Baldwin <jhb@FreeBSD.org>

Use __LP64__ rather than the PTR64 hack.

Suggested by: ru


Revision tags: release/6.1.0_cvs, release/6.1.0
# a421d571 28-Apr-2006 John Baldwin <jhb@FreeBSD.org>

Sort includes.


# eefcd2a1 28-Apr-2006 John Baldwin <jhb@FreeBSD.org>

A whitespace fix.

Submitted by: bde


# 60b0d009 27-Apr-2006 John Baldwin <jhb@FreeBSD.org>

Drop locking comments. ddb functions should never use locking anyway and
no other ddb functions try to annotate what locking would otherwise be
appropriate in comments.

Prodded by: bde


123456789