Fix: build failures when CONFIG_UPROBES is absent
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Wed, 29 Aug 2018 15:45:49 +0000 (11:45 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 30 Aug 2018 00:30:10 +0000 (20:30 -0400)
commite33fc900491443368c1e8ed3486026fbb1305006
tree6d89223efbccaa24b6749ab7860be3e253e192b9
parent3aed4dca825a63757a3c95b9d41019660f83e02d
Fix: build failures when CONFIG_UPROBES is absent

Problems
========
- There is a typo in the struct name of the parameters of stub version
  of the lttng_uprobes_add_callsite function,
- We are building the lttng-uprobes.o object file even when
  CONFIG_UPROBES is absent.

Both of these are causing build errors.

Fixes
=====
- Replace struct lttng_kernel_callsite_uprobe by struct
  lttng_kernel_event_callsite,
- Only add the lttng-uprobes.o object file to the needed artefacts if
  CONFIG_UPROBES is present.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Makefile
lttng-events.h
probes/Kbuild
This page took 0.027816 seconds and 4 git commands to generate.