aboutsummaryrefslogtreecommitdiff
path: root/sys/sys
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2015-05-22 11:09:41 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2015-05-22 11:09:41 +0000
commit21119d0641ba50a2edf20ed96101e52cae7457c5 (patch)
treec39d0f53b2a12a933d8ef9fb2a5b2676928ff904 /sys/sys
parentc209e3e2e6e00b30c991764ca28c5dac26f023fc (diff)
downloadsrc-21119d0641ba50a2edf20ed96101e52cae7457c5.tar.gz
src-21119d0641ba50a2edf20ed96101e52cae7457c5.zip
Expand ktr_mask to be a 64-bit unsigned integer.
The mask does not really need to be updated with atomic operations and the downside of losing races during transitions is not great (it is not marked volatile, so those races are pretty wide open as it is). Differential Revision: https://reviews.freebsd.org/D2595 Reviewed by: emaste, neel, rpaulo MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=283283
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/ktr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/ktr.h b/sys/sys/ktr.h
index 6135bc05d7ad..07d7c45b5c9f 100644
--- a/sys/sys/ktr.h
+++ b/sys/sys/ktr.h
@@ -62,7 +62,7 @@ struct ktr_entry {
};
extern cpuset_t ktr_cpumask;
-extern int ktr_mask;
+extern uint64_t ktr_mask;
extern int ktr_entries;
extern int ktr_verbose;
@@ -71,7 +71,7 @@ extern struct ktr_entry *ktr_buf;
#ifdef KTR
-void ktr_tracepoint(u_int mask, const char *file, int line,
+void ktr_tracepoint(uint64_t mask, const char *file, int line,
const char *format, u_long arg1, u_long arg2, u_long arg3,
u_long arg4, u_long arg5, u_long arg6);