summaryrefslogtreecommitdiffstats
path: root/translate.cxx
diff options
context:
space:
mode:
authorfche <fche>2005-07-28 18:42:58 +0000
committerfche <fche>2005-07-28 18:42:58 +0000
commit3d49c6154591958c1e12f70aa5b89de70e8fb988 (patch)
treea08853945b533ccc2a64c48e5e4f60400f07806b /translate.cxx
parent24cb178fd82936f55d254ebd0cd79802da21134a (diff)
downloadsystemtap-steved-3d49c6154591958c1e12f70aa5b89de70e8fb988.tar.gz
systemtap-steved-3d49c6154591958c1e12f70aa5b89de70e8fb988.tar.xz
systemtap-steved-3d49c6154591958c1e12f70aa5b89de70e8fb988.zip
2005-07-28 Frank Ch. Eigler <fche@redhat.com>
* translate.cxx: Add "pt_regs*" field to context. * tapsets.cxx (*): Correct kprobes API interface. * testsuite/buildok/three.stp: New test, copied from semok. * Makefile.am (install-data-local): Also install runtime/relayfs, so scripts can build against headers located thereunder. * Makefile.in: Regenerated.
Diffstat (limited to 'translate.cxx')
-rw-r--r--translate.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/translate.cxx b/translate.cxx
index 3623799c..2667d7ab 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -513,6 +513,7 @@ c_unparser::emit_common_header ()
o->newline() << "unsigned actioncount;";
o->newline() << "unsigned errorcount;";
o->newline() << "unsigned nesting;";
+ o->newline() << "struct pt_regs *regs;";
o->newline() << "union {";
o->indent(1);
// XXX: this handles only scalars!