diff options
author | avg <avg@FreeBSD.org> | 2015-09-28 12:14:16 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2015-09-28 12:14:16 +0000 |
commit | 425c0bb0881d8c41e5d8292de87c15b38472045c (patch) | |
tree | 7cbb4c63806f8c7246034b6254eee513f36ea37e /sys/compat | |
parent | 0f2211c30ded7871b441bfaa1647843f1b4fd0c2 (diff) | |
download | FreeBSD-src-425c0bb0881d8c41e5d8292de87c15b38472045c.zip FreeBSD-src-425c0bb0881d8c41e5d8292de87c15b38472045c.tar.gz |
save some bytes by using more concise SDT_PROBE<n> instead of SDT_PROBE
SDT_PROBE requires 5 parameters whereas SDT_PROBE<n> requires n parameters
where n is typically smaller than 5.
Perhaps SDT_PROBE should be made a private implementation detail.
MFC after: 20 days
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/linux/linux_dtrace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_dtrace.h b/sys/compat/linux/linux_dtrace.h index b713f16..c446b3e 100644 --- a/sys/compat/linux/linux_dtrace.h +++ b/sys/compat/linux/linux_dtrace.h @@ -82,7 +82,7 @@ c, d, e, f) #define LIN_SDT_PROBE4(a, b, c, d, e, f, g) SDT_PROBE4(LINUX_DTRACE, a, b, \ c, d, e, f, g) -#define _LIN_SDT_PROBE5(a, b, c, d, e, f, g, h, i) SDT_PROBE(a, b, c, d, \ +#define _LIN_SDT_PROBE5(a, b, c, d, e, f, g, h, i) SDT_PROBE5(a, b, c, d, \ e, f, g, h, i) #define LIN_SDT_PROBE5(a, b, c, d, e, f, g, h) _LIN_SDT_PROBE5(LINUX_DTRACE, \ a, b, c, d, e, f, g, h) |