summaryrefslogtreecommitdiffstats
path: root/translate.cxx
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@redhat.com>2008-09-09 16:02:21 -0400
committerMasami Hiramatsu <mhiramat@redhat.com>2008-09-09 16:02:21 -0400
commitbc54e71c6747fa2c234737d3a715b0decc3663b2 (patch)
treee522016f68ceadb254583de1a6d90391411f3508 /translate.cxx
parent901a409a01da22778ea15f7b9f938885bdc38847 (diff)
downloadsystemtap-steved-bc54e71c6747fa2c234737d3a715b0decc3663b2.tar.gz
systemtap-steved-bc54e71c6747fa2c234737d3a715b0decc3663b2.tar.xz
systemtap-steved-bc54e71c6747fa2c234737d3a715b0decc3663b2.zip
Add $name context variable support on marker probes
Diffstat (limited to 'translate.cxx')
-rw-r--r--translate.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/translate.cxx b/translate.cxx
index 2fe33314..e5435fac 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -881,6 +881,8 @@ c_unparser::emit_common_header ()
o->newline() << "struct kretprobe_instance *pi;";
o->newline() << "int regparm;";
o->newline() << "va_list *mark_va_list;";
+ o->newline() << "const char * marker_name;";
+ o->newline() << "const char * marker_format;";
o->newline() << "void *data;";
o->newline() << "#ifdef STP_TIMING";
o->newline() << "Stat *statp;";