fprintf: class__vtable_fprintf() doesn't need a 'cu' arg

Another simplification made possible by using a plain char string
instead of string_t, that was only needed in the core as prep work
for CTF encoding.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2021-06-30 10:07:14 -03:00
parent 38ff86b149
commit 0c5bf70cc1
1 changed files with 2 additions and 3 deletions

View File

@ -1313,8 +1313,7 @@ static size_t class__fprintf_cacheline_boundary(struct conf_fprintf *conf,
return printed;
}
static size_t class__vtable_fprintf(struct class *class, const struct cu *cu,
const struct conf_fprintf *conf, FILE *fp)
static size_t class__vtable_fprintf(struct class *class, const struct conf_fprintf *conf, FILE *fp)
{
struct function *pos;
size_t printed = 0;
@ -1685,7 +1684,7 @@ static size_t __class__fprintf(struct class *class, const struct cu *cu,
}
if (!cconf.show_only_data_members)
class__vtable_fprintf(class, cu, &cconf, fp);
class__vtable_fprintf(class, &cconf, fp);
if (!cconf.emit_stats)
goto out;