Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Fix SDT_PROBE macro argument overlooked in argument...



details:   https://anonhg.NetBSD.org/src/rev/c6a934013688
branches:  trunk
changeset: 773674:c6a934013688
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Feb 12 20:11:03 2012 +0000

description:
Fix SDT_PROBE macro argument overlooked in argument renaming, noted by <chs>

diffstat:

 sys/kern/kern_exec.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 92ea200017d0 -r c6a934013688 sys/kern/kern_exec.c
--- a/sys/kern/kern_exec.c      Sun Feb 12 19:11:33 2012 +0000
+++ b/sys/kern/kern_exec.c      Sun Feb 12 20:11:03 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_exec.c,v 1.338 2012/02/12 13:14:37 martin Exp $   */
+/*     $NetBSD: kern_exec.c,v 1.339 2012/02/12 20:11:03 martin Exp $   */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -59,7 +59,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_exec.c,v 1.338 2012/02/12 13:14:37 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_exec.c,v 1.339 2012/02/12 20:11:03 martin Exp $");
 
 #include "opt_exec.h"
 #include "opt_ktrace.h"
@@ -1294,7 +1294,7 @@
 
        kmem_free(data->ed_pack.ep_hdr, data->ed_pack.ep_hdrlen);
 
-       SDT_PROBE(proc,,,exec_success, path, 0, 0, 0, 0);
+       SDT_PROBE(proc,,,exec_success, data->ed_pack.ep_name, 0, 0, 0, 0);
 
        /* The emulation root will usually have been found when we looked
         * for the elf interpreter (or similar), if not look now. */



Home | Main Index | Thread Index | Old Index