summaryrefslogtreecommitdiffstats
path: root/main.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'main.cxx')
-rw-r--r--main.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.cxx b/main.cxx
index dbb2a306..b494ba2b 100644
--- a/main.cxx
+++ b/main.cxx
@@ -187,13 +187,16 @@ printscript(systemtap_session& s, ostream& o)
{
o << pp;
// Print the locals for -L mode only
- if (s.unoptimized)
+ if (s.unoptimized) {
for (unsigned j=0; j<p->locals.size(); j++)
{
o << " ";
vardecl* v = p->locals[j];
v->printsig (o);
}
+ // Print arguments of probe if there
+ p->printargs(o);
+ }
o << endl;
seen.insert (pp);
}