The branch main has been updated by jhb:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=b4247e0cdfdd047ea855eac1f75644081ac242ef

commit b4247e0cdfdd047ea855eac1f75644081ac242ef
Author:     John Baldwin <j...@freebsd.org>
AuthorDate: 2021-01-01 00:01:52 +0000
Commit:     John Baldwin <j...@freebsd.org>
CommitDate: 2021-01-01 00:01:52 +0000

    ddb: Display process flags (p_flag and p_flag2) in 'show proc'.
    
    Reviewed by:    kib
    Sponsored by:   Netflix
    Differential Revision:  https://reviews.freebsd.org/D27872
---
 sys/ddb/db_ps.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/ddb/db_ps.c b/sys/ddb/db_ps.c
index 2e5e6332d6e8..44b803299ee9 100644
--- a/sys/ddb/db_ps.c
+++ b/sys/ddb/db_ps.c
@@ -485,6 +485,8 @@ DB_SHOW_COMMAND(proc, db_show_proc)
                    p->p_leader);
        if (p->p_sysent != NULL)
                db_printf(" ABI: %s\n", p->p_sysent->sv_name);
+       db_printf(" flag: %#x ", p->p_flag);
+       db_printf(" flag2: %#x\n", p->p_flag2);
        if (p->p_args != NULL) {
                db_printf(" arguments: ");
                dump_args(p);
_______________________________________________
dev-commits-src-main@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main
To unsubscribe, send any mail to "dev-commits-src-main-unsubscr...@freebsd.org"

Reply via email to