CVS log for src/sys/ddb/db_proc.c
Up to [cvs.NetBSD.org] / src / sys / ddb
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.14.18.1: download - view: text, markup, annotated - select for diffs
Thu Apr 18 18:06:09 2024 UTC (8 months, 3 weeks ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-1-RELEASE
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +6 -6
lines
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.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Apr 15 06:48:06 2024 UTC (9 months ago) by skrll
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +6 -6
lines
Fix alignment of ddb 'ps/[lw]' output. LID matches PID and has more digits.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Jan 22 07:57:48 2024 UTC (11 months, 3 weeks ago) by skrll
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +4 -4
lines
Fix column alignment in ps/w output
Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:42 2021 UTC (3 years, 9 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +4 -4
lines
Sync with HEAD.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Jan 11 07:49:04 2021 UTC (4 years ago) by simonb
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
thorpej-altq-separation-base,
thorpej-altq-separation,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Branch point for: netbsd-10
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -4
lines
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.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Oct 30 06:57:08 2020 UTC (4 years, 2 months ago) by skrll
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3
lines
Trailing whitespace
Revision 1.6.54.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:02 2020 UTC (4 years, 9 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.6.54.1: preferred, colored; branchpoint 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.54.1: +6 -6
lines
Merge changes from current as of 20200406
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Apr 4 13:59:16 2020 UTC (4 years, 9 months ago) by mlelstv
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -4
lines
also print the LWP reference count.
Revision 1.8.6.2: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:21:01 2020 UTC (4 years, 10 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.8.6.1: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.6.1: +7 -7
lines
Sync with head.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Feb 26 07:57:24 2020 UTC (4 years, 10 months ago) by hikaru
Branches: MAIN
CVS tags: is-mlppp-base,
is-mlppp,
ad-namecache-base3
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3
lines
Correct PPID of "show all procs/n"
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Feb 15 18:12:14 2020 UTC (4 years, 11 months ago) by ad
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +6 -6
lines
- 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.
Revision 1.8.6.1: download - view: text, markup, annotated - select for diffs
Fri Jan 17 21:47:29 2020 UTC (4 years, 11 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +5 -5
lines
Sync with head.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Jan 8 17:38:42 2020 UTC (5 years ago) by ad
Branches: MAIN
CVS tags: ad-namecache-base2,
ad-namecache-base1
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +5 -5
lines
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.
Revision 1.6.54.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:04 2019 UTC (5 years, 7 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +33 -15
lines
Sync with HEAD
Revision 1.6.52.1: download - view: text, markup, annotated - select for diffs
Mon Nov 26 01:52:30 2018 UTC (6 years, 1 month ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +33 -15
lines
Sync with HEAD, resolve a couple of conflicts
Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Nov 2 11:59:59 2018 UTC (6 years, 2 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-20191119,
phil-wifi-20190609,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
isaki-audio2-base,
isaki-audio2,
ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3
lines
no, should be dst
Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Nov 2 08:59:59 2018 UTC (6 years, 2 months ago) by maxv
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +33 -15
lines
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.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Oct 23 13:30:20 2011 UTC (13 years, 2 months ago) by jym
Branches: MAIN
CVS tags: yamt-pagecache-tag8,
yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-pagecache,
tls-maxphys-base-20171202,
tls-maxphys-base,
tls-maxphys,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-smpnet-nbase,
rmind-smpnet-base,
rmind-smpnet,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
pgoyette-compat-base,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
nick-nhusb,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
localcount-20160914,
khorben-n900,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base10,
jmcneill-usbmp-base,
jmcneill-usbmp,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan,
agc-symver-base,
agc-symver
Branch point for: phil-wifi,
pgoyette-compat
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +7 -4
lines
Like ddb(4) "ps/l", use '>' sign to indicate running LWPs for the /w
modifier.
Revision 1.3.12.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:07:37 2011 UTC (13 years, 7 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +87 -4
lines
Sync with HEAD.
Revision 1.3.10.1: download - view: text, markup, annotated - select for diffs
Thu Apr 21 01:41:44 2011 UTC (13 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +87 -4
lines
sync with head
Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Apr 12 17:46:38 2011 UTC (13 years, 9 months ago) by nakayama
Branches: MAIN
CVS tags: rmind-uvmplock-nbase,
rmind-uvmplock-base,
cherry-xenmp-base,
cherry-xenmp
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3
lines
Fix GENERIC_SUN4U build.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Apr 10 20:59:22 2011 UTC (13 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +87 -4
lines
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
Revision 1.3.6.2: download - view: text, markup, annotated - select for diffs
Wed May 13 17:19:04 2009 UTC (15 years, 8 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.3.6.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.6.1: +259 -0
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.3.4.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:32 2009 UTC (15 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.3.4.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.4.1: +259 -0
lines
sync with head.
Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:35:13 2009 UTC (15 years, 8 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.1: +259 -0
lines
Sync with HEAD.
Revision 1.3.6.1
Mon Mar 9 06:07:05 2009 UTC (15 years, 10 months ago) by jym
Branches: jym-xensuspend
FILE REMOVED
Changes since revision 1.3: +0 -259
lines
file db_proc.c was added on branch jym-xensuspend on 2009-05-13 17:19:04 +0000
Revision 1.3.4.1
Mon Mar 9 06:07:05 2009 UTC (15 years, 10 months ago) by yamt
Branches: yamt-nfs-mp
FILE REMOVED
Changes since revision 1.3: +0 -259
lines
file db_proc.c was added on branch yamt-nfs-mp on 2009-05-04 08:12:32 +0000
Revision 1.3.2.1
Mon Mar 9 06:07:05 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
FILE REMOVED
Changes since revision 1.3: +0 -259
lines
file db_proc.c was added on branch nick-hppapmap on 2009-04-28 07:35:13 +0000
Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Mar 9 06:07:05 2009 UTC (15 years, 10 months ago) by mrg
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
uebayasi-xip,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base,
matt-premerge-20091211,
matt-mips64-premerge-20101231,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jruoho-x86intr-base,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: yamt-nfs-mp,
rmind-uvmplock,
nick-hppapmap,
jym-xensuspend,
jruoho-x86intr
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +8 -2
lines
include <stdbool.h> if not _KERNEL, and don't include kauth.h if _KERNEL.
now crash builds on i386.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Mar 8 11:40:00 2009 UTC (15 years, 10 months ago) by mrg
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -4
lines
include ddb headers *after* sys/types.h or sys/param.h.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Mar 7 22:02:17 2009 UTC (15 years, 10 months ago) by ad
Branches: MAIN
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.
CVSweb <webmaster@jp.NetBSD.org>