CONFIG_FTRACE.
The build failure is caused by conditionally compiling trace.c depending on
the wrong option CONFIG_FTRACE. Change this to depend on CONFIG_TRACING like
other users of tracepoints do.
Fixes: c1b0bc2dabfa ("usb: typec: Add support for UCSI interface")
Signed-off-by: Tobias Re
On 09.04.18, Tobias Regnery wrote:
> On 09.04.18, Heikki Krogerus wrote:
> > On Mon, Apr 09, 2018 at 09:55:17AM +0200, Tobias Regnery wrote:
> > > The ucsi driver defines several tracepoints, but the header file with the
> > > tracepoint definition trace.h is only condi
On 09.04.18, Heikki Krogerus wrote:
> On Mon, Apr 09, 2018 at 09:55:17AM +0200, Tobias Regnery wrote:
> > The ucsi driver defines several tracepoints, but the header file with the
> > tracepoint definition trace.h is only conditionally built depending on
> > CONFIG_FTRACE.
usb/typec/ucsi/typec_ucsi.ko] undefined!
With CONFIG_TYPEC_UCSI=y the build fails with several link errors.
Fix this by changing the Makefile to unconditionally build trace.o.
Tracepints are a runtime contruct and no other user of tracepoints depends
on CONFIG_FTRACE.
Fixes: c1b0bc2dabfa ("