diff --git a/tools/perf/util/setup.py b/tools/perf/util/setup.py index d0f9f29cf181ad..09c3cea95d3bf7 100644 --- a/tools/perf/util/setup.py +++ b/tools/perf/util/setup.py @@ -31,6 +31,7 @@ def finalize_options(self): sources = ext_sources, include_dirs = ['util/include'], extra_compile_args = cflags, + extra_objects = [build_tmp + '/../../libtraceevent.a'], ) setup(name='perf',