Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jan 2021 10:07:54 GMT
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: a7d8bd8c239e - main - Add missing structs to pmclog_entry
Message-ID:  <202101051007.105A7saI011933@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by andrew:

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

commit a7d8bd8c239ed743866006636c1e99491023d3c6
Author:     Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2021-01-04 17:44:10 +0000
Commit:     Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2021-01-05 10:03:05 +0000

    Add missing structs to pmclog_entry
    
    This is used to size allocations so needs to incude all log structs
    to ensure its size is correct.
    
    Sponsored by:   Innovate UK
---
 sys/sys/pmclog.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys/sys/pmclog.h b/sys/sys/pmclog.h
index 51a8a20d14a6..0ee9b7e2e853 100644
--- a/sys/sys/pmclog.h
+++ b/sys/sys/pmclog.h
@@ -267,10 +267,13 @@ union pmclog_entry {		/* only used to size scratch areas */
 	struct pmclog_pmcattach		pl_t;
 	struct pmclog_pmcdetach		pl_d;
 	struct pmclog_proccsw		pl_c;
+	struct pmclog_proccreate	pl_pc;
 	struct pmclog_procexec		pl_x;
 	struct pmclog_procexit		pl_e;
 	struct pmclog_procfork		pl_f;
 	struct pmclog_sysexit		pl_se;
+	struct pmclog_threadcreate	pl_tc;
+	struct pmclog_threadexit	pl_te;
 	struct pmclog_userdata		pl_u;
 };
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101051007.105A7saI011933>