From bc54e71c6747fa2c234737d3a715b0decc3663b2 Mon Sep 17 00:00:00 2001 From: Masami Hiramatsu Date: Tue, 9 Sep 2008 16:02:21 -0400 Subject: Add $name context variable support on marker probes --- translate.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'translate.cxx') 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;"; -- cgit