Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[linuxtools-dev] lttng-agent compile failure with ust-0.12

Hi guys,

I met an error in compiling the lttng-agent with ust-0.12, does anyone know with which version of ust the lttng-agent can work? Thanks!

$./configure --enable-kernel=no enable-ust=yes
$ make
  CC     lttctlusttransfer.lo
lttctlusttransfer.c: In function 'flush_thread':
lttctlusttransfer.c:81: error: too few arguments to function 'ustctl_force_switch'
lttctlusttransfer.c: In function 'ltt_ust_new_ustconsumer_network_instance':
lttctlusttransfer.c:148: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result
make: *** [lttctlusttransfer.lo] Error 1

It seems the ustctl_force_switch ustctl_force_switch() in ust-0.12 requires a second parameter (const char *trace). 

Best Regards,

========================
Lianhao Lu
OTC SSG, Intel APAC R&D Ltd. 


Back to the top