Skip to main content

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

Have some code.

This patch does not fix the lttng-agent so it works with UST, but it
will let you compile it with no errors.

On 11-04-08 12:37 AM, Lu, Lianhao wrote:
> 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. 
> _______________________________________________
> linuxtools-dev mailing list
> linuxtools-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/linuxtools-dev





Back to the top