diff options
author | dsmith <dsmith> | 2007-09-12 19:03:23 +0000 |
---|---|---|
committer | dsmith <dsmith> | 2007-09-12 19:03:23 +0000 |
commit | 87ebf4cbc06b84d70548869290bf4dcc1964b5e0 (patch) | |
tree | 1e585e41512707c6db17790f8295e967442ed4e2 /translate.cxx | |
parent | 3a18979dd18ba8cdd96367d2ad18c456f26c6f20 (diff) | |
download | systemtap-steved-87ebf4cbc06b84d70548869290bf4dcc1964b5e0.tar.gz systemtap-steved-87ebf4cbc06b84d70548869290bf4dcc1964b5e0.tar.xz systemtap-steved-87ebf4cbc06b84d70548869290bf4dcc1964b5e0.zip |
2007-09-12 David Smith <dsmith@redhat.com>
* translate.cxx (c_unparser::emit_common_header): Added 'data'
variable to context structure to support procfs probes.
* tapsets.cxx: Improved procfs probe handling.
Diffstat (limited to 'translate.cxx')
-rw-r--r-- | translate.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/translate.cxx b/translate.cxx index d621cf26..a8c18874 100644 --- a/translate.cxx +++ b/translate.cxx @@ -864,6 +864,7 @@ c_unparser::emit_common_header () o->newline() << "struct pt_regs *regs;"; o->newline() << "struct kretprobe_instance *pi;"; o->newline() << "va_list mark_va_list;"; + o->newline() << "void *data;"; o->newline() << "#ifdef STP_TIMING"; o->newline() << "Stat *statp;"; o->newline() << "#endif"; |