aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_fork.c
diff options
context:
space:
mode:
authorAndriy Gapon <avg@FreeBSD.org>2015-09-28 12:14:16 +0000
committerAndriy Gapon <avg@FreeBSD.org>2015-09-28 12:14:16 +0000
commit2f2f522b5de618d24c7ce477bc54ec945124122c (patch)
tree7cbb4c63806f8c7246034b6254eee513f36ea37e /sys/kern/kern_fork.c
parentb27480c68d87d6aaade60f4e60e3647ad3a81d38 (diff)
downloadsrc-2f2f522b5de618d24c7ce477bc54ec945124122c.tar.gz
src-2f2f522b5de618d24c7ce477bc54ec945124122c.zip
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
Notes
Notes: svn path=/head/; revision=288336
Diffstat (limited to 'sys/kern/kern_fork.c')
-rw-r--r--sys/kern/kern_fork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c
index 4aa531490fd1..b2727bc6a991 100644
--- a/sys/kern/kern_fork.c
+++ b/sys/kern/kern_fork.c
@@ -753,7 +753,7 @@ do_fork(struct thread *td, int flags, struct proc *p2, struct thread *td2,
* Tell any interested parties about the new process.
*/
knote_fork(&p1->p_klist, p2->p_pid);
- SDT_PROBE(proc, kernel, , create, p2, p1, flags, 0, 0);
+ SDT_PROBE3(proc, kernel, , create, p2, p1, flags);
/*
* Wait until debugger is attached to child.