Last change
on this file since 53688 was 53658, checked in by vboxsync, 10 years ago |
VBoxDTrace: Generated dt_names.c and dt_errtags.c. (r35)
|
-
Property svn:eol-style
set to
LF
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
601 bytes
|
Line | |
---|
1 | #$Id: mknames.sed 53658 2015-01-02 12:31:02Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # pure sed version of mknames.sh.
|
---|
4 | #
|
---|
5 |
|
---|
6 | 1b heading
|
---|
7 | $b footer
|
---|
8 | /DIF_SUBR_MAX/b end
|
---|
9 | s/^#[[:space:]]*define[[:space:]][[:space:]]*\(DIF_SUBR_[a-zA-Z0-9_]*\).*$/ case \1: \
|
---|
10 | return "\L\1";/p
|
---|
11 | b end
|
---|
12 |
|
---|
13 | :heading
|
---|
14 | i\/* Autogenerated source file - DO NOT EDIT! */
|
---|
15 | i\/*
|
---|
16 | i\ * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
|
---|
17 | i\ * Use is subject to license terms.
|
---|
18 | i\ */
|
---|
19 | i\#include <dtrace.h>
|
---|
20 | i\const char *dtrace_subrstr(dtrace_hdl_t *dtp, int subr)
|
---|
21 | i\{
|
---|
22 | i\ switch (subr)
|
---|
23 | i\ {
|
---|
24 | b end
|
---|
25 |
|
---|
26 | :footer
|
---|
27 | i\ default:
|
---|
28 | i\ return "unknown";
|
---|
29 | i\ }
|
---|
30 | i\}
|
---|
31 | b end
|
---|
32 |
|
---|
33 |
|
---|
34 |
|
---|
35 |
|
---|
36 | :end
|
---|
37 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.