diff options
author | fche <fche> | 2005-08-01 23:27:38 +0000 |
---|---|---|
committer | fche <fche> | 2005-08-01 23:27:38 +0000 |
commit | 9e6edd108990251e64bd9d37d2324a38b88f7914 (patch) | |
tree | 4e3929f6ca9a9c0968a4d4e598bb79ae46084b3d /tapsets.cxx | |
parent | 61d3853d38a092525388961c3523ce1a3701cf1e (diff) | |
download | systemtap-steved-9e6edd108990251e64bd9d37d2324a38b88f7914.tar.gz systemtap-steved-9e6edd108990251e64bd9d37d2324a38b88f7914.tar.xz systemtap-steved-9e6edd108990251e64bd9d37d2324a38b88f7914.zip |
typo
Diffstat (limited to 'tapsets.cxx')
-rw-r--r-- | tapsets.cxx | 9 |
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(); |