[PATCH 6.11 521/817] perf build: Add missing cflags when building with custom libtraceevent