summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
authorfche <fche>2005-08-01 23:27:38 +0000
committerfche <fche>2005-08-01 23:27:38 +0000
commit9e6edd108990251e64bd9d37d2324a38b88f7914 (patch)
tree4e3929f6ca9a9c0968a4d4e598bb79ae46084b3d /tapsets.cxx
parent61d3853d38a092525388961c3523ce1a3701cf1e (diff)
downloadsystemtap-steved-9e6edd108990251e64bd9d37d2324a38b88f7914.tar.gz
systemtap-steved-9e6edd108990251e64bd9d37d2324a38b88f7914.tar.xz
systemtap-steved-9e6edd108990251e64bd9d37d2324a38b88f7914.zip
typo
Diffstat (limited to 'tapsets.cxx')
-rw-r--r--tapsets.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/tapsets.cxx b/tapsets.cxx
index 0335146c..d3d29282 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -1362,9 +1362,12 @@ dwarf_derived_probe::emit_probe_entries (translator_output* o, unsigned probenum
// the entry function. The entry function will call the probe function.
o->newline();
o->newline() << "static int ";
- o->newline() << probe_entry_function_name(probenum)
- << " (void *_ignored, struct pt_regs *regs) {";
- // NB: the void* first param matches both kretprobes and kprobes
+ o->newline() << probe_entry_function_name(probenum) << " (";
+ if (has_return)
+ o->line() << "struct kretprobe_instance *_ignored";
+ else
+ o->line() << "struct kprobe *_ignored";
+ o->line() << ", struct pt_regs *regs) {";
o->newline(1) << "struct context *c = & contexts [smp_processor_id()];";
o->newline();