summaryrefslogtreecommitdiff
path: root/proto/perf
diff options
context:
space:
mode:
Diffstat (limited to 'proto/perf')
-rw-r--r--proto/perf/Makefile1
-rw-r--r--proto/perf/perf.c6
2 files changed, 7 insertions, 0 deletions
diff --git a/proto/perf/Makefile b/proto/perf/Makefile
index 7877fb19..42051f43 100644
--- a/proto/perf/Makefile
+++ b/proto/perf/Makefile
@@ -2,5 +2,6 @@ src := perf.c
obj := $(src-o-files)
$(all-daemon)
$(cf-local)
+$(call proto-build,perf_build)
tests_objs := $(tests_objs) $(src-o-files)
diff --git a/proto/perf/perf.c b/proto/perf/perf.c
index 52784c14..5d228045 100644
--- a/proto/perf/perf.c
+++ b/proto/perf/perf.c
@@ -315,3 +315,9 @@ struct protocol proto_perf = {
.reconfigure = perf_reconfigure,
.copy_config = perf_copy_config,
};
+
+void
+perf_build(void)
+{
+ proto_build(&proto_perf);
+}