[LTP] [PATCH] tracing/intel_pt: Fix build on older userspace.

Petr Vorel pvorel@suse.cz
Wed Oct 17 21:48:37 CEST 2018


Hi Cyril,

> Older userspace linux headers do not have aux_* fields struct
> perf_event_mmap_page. This commit disables the test build if older
> headers were detected, the alternative would be adding a fallback
> definition to LTP but I doubt that it's worth the effort.

> Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
> CC: Ammy Yi <ammy.yi@intel.com>

Reviewed-by: Petr Vorel <pvorel@suse.cz>

Thanks for fixing it.

Kind regards,
Petr


More information about the ltp mailing list