Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/include/rump include ktrace constants
details: https://anonhg.NetBSD.org/src/rev/060c612e2247
branches: trunk
changeset: 325173:060c612e2247
user: pooka <pooka%NetBSD.org@localhost>
date: Mon Dec 09 19:31:00 2013 +0000
description:
include ktrace constants
diffstat:
sys/rump/include/rump/makerumpdefs.sh | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r ae2d932ac686 -r 060c612e2247 sys/rump/include/rump/makerumpdefs.sh
--- a/sys/rump/include/rump/makerumpdefs.sh Mon Dec 09 19:19:39 2013 +0000
+++ b/sys/rump/include/rump/makerumpdefs.sh Mon Dec 09 19:31:00 2013 +0000
@@ -8,7 +8,7 @@
rm -f rumpdefs.h
exec > rumpdefs.h
-printf '/* $NetBSD: makerumpdefs.sh,v 1.22 2013/11/13 16:42:00 pooka Exp $ */\n\n'
+printf '/* $NetBSD: makerumpdefs.sh,v 1.23 2013/12/09 19:31:00 pooka Exp $ */\n\n'
printf '/*\n *\tAUTOMATICALLY GENERATED. DO NOT EDIT.\n */\n\n'
printf '#ifndef _RUMP_RUMPDEFS_H_\n'
printf '#define _RUMP_RUMPDEFS_H_\n\n'
@@ -103,6 +103,11 @@
sed -n '/#define[ ]*_IO.*[^\]$/{s/_IO/_RUMP_IO/g;s/IOC_/RUMP_IOC_/gp}' <../../../sys/ioccom.h \
| sed 's,/\*.*$,,'
+fromvers ../../../sys/ktrace.h
+sed -n '/#define[ ]*KTROP_[A-Z_]/s/KTROP_/RUMP_&/gp' <../../../sys/ktrace.h | sed 's,/\*.*$,,'
+sed -n '/#define[ ]*KTR_[A-Z_]/s/KTR_/RUMP_&/gp' <../../../sys/ktrace.h | sed 's,/\*.*$,,'
+sed -n '/#define[ ]*KTRFAC_[A-Z_]/{s/KTRFAC_/RUMP_&/g;s/KTR_/RUMP_&/g;p;}' <../../../sys/ktrace.h | sed 's,/\*.*$,,'
+
fromvers ../../../sys/module.h
getstruct ../../../sys/module.h modctl_load
getenum ../../../sys/module.h modctl MODCTL
Home |
Main Index |
Thread Index |
Old Index