git: a7d8bd8c239e - main - Add missing structs to pmclog_entry

Andrew Turner andrew at FreeBSD.org
Tue Jan 5 10:07:55 UTC 2021


The branch main has been updated by andrew:

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

commit a7d8bd8c239ed743866006636c1e99491023d3c6
Author:     Andrew Turner <andrew at FreeBSD.org>
AuthorDate: 2021-01-04 17:44:10 +0000
Commit:     Andrew Turner <andrew at 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;
 };
 


More information about the dev-commits-src-all mailing list