From 87ebf4cbc06b84d70548869290bf4dcc1964b5e0 Mon Sep 17 00:00:00 2001 From: dsmith Date: Wed, 12 Sep 2007 19:03:23 +0000 Subject: 2007-09-12 David Smith * translate.cxx (c_unparser::emit_common_header): Added 'data' variable to context structure to support procfs probes. * tapsets.cxx: Improved procfs probe handling. --- translate.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'translate.cxx') 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"; -- cgit