summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
authormarkj <markj@FreeBSD.org>2015-12-16 23:39:27 +0000
committermarkj <markj@FreeBSD.org>2015-12-16 23:39:27 +0000
commitfa1b8e9a4f8f45f1d5675a9f3cb1fd6c504ccbc3 (patch)
tree76bad87288933c1e1da6401e046cbcc61703d1fd /sys/compat
parentf64eb0a1eff489953daa256595df542b0f8aeffd (diff)
downloadFreeBSD-src-fa1b8e9a4f8f45f1d5675a9f3cb1fd6c504ccbc3.zip
FreeBSD-src-fa1b8e9a4f8f45f1d5675a9f3cb1fd6c504ccbc3.tar.gz
Fix style issues around existing SDT probes.
- Use SDT_PROBE<N>() instead of SDT_PROBE(). This has no functional effect at the moment, but will be needed for some future changes. - Don't hardcode the module component of the probe identifier. This is set automatically by the SDT framework. MFC after: 1 week
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/linux/linux_dtrace.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_dtrace.h b/sys/compat/linux/linux_dtrace.h
index c446b3e..6e91327 100644
--- a/sys/compat/linux/linux_dtrace.h
+++ b/sys/compat/linux/linux_dtrace.h
@@ -72,8 +72,8 @@
#define LIN_SDT_PROBE_DEFINE5(a, b, c, d, e, f, g, h) _LIN_SDT_PROBE_DEFINE5(\
LINUX_DTRACE, a, b, c, d, e, f, g, h)
-#define LIN_SDT_PROBE0(a, b, c) SDT_PROBE1(LINUX_DTRACE, a, b, \
- c, 0)
+#define LIN_SDT_PROBE0(a, b, c) SDT_PROBE0(LINUX_DTRACE, a, b, \
+ c)
#define LIN_SDT_PROBE1(a, b, c, d) SDT_PROBE1(LINUX_DTRACE, a, b, \
c, d)
#define LIN_SDT_PROBE2(a, b, c, d, e) SDT_PROBE2(LINUX_DTRACE, a, b, \
OpenPOWER on IntegriCloud