History log of /src/sys/ddb/db_proc.c |
Revision | | Date | Author | Comments |
1.16 |
| 15-Apr-2024 |
skrll | Fix alignment of ddb 'ps/[lw]' output. LID matches PID and has more digits.
|
1.15 |
| 22-Jan-2024 |
skrll | Fix column alignment in ps/w output
|
1.14 |
| 11-Jan-2021 |
simonb | branches: 1.14.18; For "ps/a" print all of p_comm instead of just the first 10 chars, add a space after PID, left justify the command name.
|
1.13 |
| 30-Oct-2020 |
skrll | branches: 1.13.2; Trailing whitespace
|
1.12 |
| 04-Apr-2020 |
mlelstv | also print the LWP reference count.
|
1.11 |
| 26-Feb-2020 |
hikaru | Correct PPID of "show all procs/n"
|
1.10 |
| 15-Feb-2020 |
ad | - Move the LW_RUNNING flag back into l_pflag: updating l_flag without lock in softint_dispatch() is risky. May help with the "softint screwup" panic.
- Correct the memory barriers around zombies switching into oblivion.
|
1.9 |
| 08-Jan-2020 |
ad | Hopefully fix some problems seen with MP support on non-x86, in particular where curcpu() is defined as curlwp->l_cpu:
- mi_switch(): undo the ~2007ish optimisation to unlock curlwp before calling cpu_switchto(). It's not safe to let other actors mess with the LWP (in particular l->l_cpu) while it's still context switching. This removes l->l_ctxswtch.
- Move the LP_RUNNING flag into l->l_flag and rename to LW_RUNNING since it's now covered by the LWP's lock.
- Ditch lwp_exit_switchaway() and just call mi_switch() instead. Everything is in cache anyway so it wasn't buying much by trying to avoid saving old state. This means cpu_switchto() will never be called with prevlwp == NULL.
- Remove some KERNEL_LOCK handling which hasn't been needed for years.
|
1.8 |
| 02-Nov-2018 |
maxv | branches: 1.8.6; no, should be dst
|
1.7 |
| 02-Nov-2018 |
maxv | Don't overflow on the strings we read. Introduce db_read_string(), which stops on '\0'. Probably this doesn't matter a lot because the read is supposed to be safe, but let's not have bugs in the debugger.
Detected by kASan, via skrll@ on aarch64, by typing "ps/l" on DDB.
|
1.6 |
| 23-Oct-2011 |
jym | branches: 1.6.52; 1.6.54; Like ddb(4) "ps/l", use '>' sign to indicate running LWPs for the /w modifier.
|
1.5 |
| 12-Apr-2011 |
nakayama | Fix GENERIC_SUN4U build.
|
1.4 |
| 10-Apr-2011 |
christos | Add: usage: show proc [/a] [/p] address|pid /a == argument is an address of any lwp /p == argument is a pid [default] From: Vladimir Kirillov proger at wilab dot org dot ua
|
1.3 |
| 09-Mar-2009 |
mrg | branches: 1.3.2; 1.3.4; 1.3.6; 1.3.10; 1.3.12; include <stdbool.h> if not _KERNEL, and don't include kauth.h if _KERNEL.
now crash builds on i386.
|
1.2 |
| 08-Mar-2009 |
mrg | include ddb headers *after* sys/types.h or sys/param.h.
|
1.1 |
| 07-Mar-2009 |
ad | Make ddb compile and work in userspace. Mostly this is comprised of three types of changes:
- Add a few new methods to replace stuff like p_find(), CPU_INFO_FOREACH.
- Use db_read_bytes() instead of accessing kernel structures directly, and similar changes.
- Add ifdef _KERNEL where the above hasn't been done, and an XXX comment.
|
1.3.12.1 |
| 06-Jun-2011 |
jruoho | Sync with HEAD.
|
1.3.10.1 |
| 21-Apr-2011 |
rmind | sync with head
|
1.3.6.2 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.3.6.1 |
| 09-Mar-2009 |
jym | file db_proc.c was added on branch jym-xensuspend on 2009-05-13 17:19:04 +0000
|
1.3.4.2 |
| 04-May-2009 |
yamt | sync with head.
|
1.3.4.1 |
| 09-Mar-2009 |
yamt | file db_proc.c was added on branch yamt-nfs-mp on 2009-05-04 08:12:32 +0000
|
1.3.2.2 |
| 28-Apr-2009 |
skrll | Sync with HEAD.
|
1.3.2.1 |
| 09-Mar-2009 |
skrll | file db_proc.c was added on branch nick-hppapmap on 2009-04-28 07:35:13 +0000
|
1.6.54.2 |
| 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
1.6.54.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.6.52.1 |
| 26-Nov-2018 |
pgoyette | Sync with HEAD, resolve a couple of conflicts
|
1.8.6.2 |
| 29-Feb-2020 |
ad | Sync with head.
|
1.8.6.1 |
| 17-Jan-2020 |
ad | Sync with head.
|
1.13.2.1 |
| 03-Apr-2021 |
thorpej | Sync with HEAD.
|
1.14.18.1 |
| 18-Apr-2024 |
martin | Pull up following revision(s) (requested by skrll in ticket #665):
sys/ddb/db_proc.c: revision 1.16
Fix alignment of ddb 'ps/[lw]' output. LID matches PID and has more digits.
|