[CTRACER]: struct function has a list of struct parameter

Not struct class_member, that was not much of a problem, as the
initial layout is the same (struct tag).

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2006-12-20 20:09:49 -02:00
parent b3dab6396c
commit f793f83a6d
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ static int function__emit_kprobes(const struct function *self,
char bf[128];
size_t bodyl = 2048, printed;
char body[bodyl], *bodyp = body;
struct class_member *pos;
struct parameter *pos;
struct class *type = cu__find_class_by_id(self->cu, self->tag.type);
const char *stype = class__name(type, bf, sizeof(bf));
int first = 1;