* [Buildroot] Ensuring kernel symbols for a module
@ 2017-08-14 7:28 Angelo Compagnucci
2017-08-14 8:21 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Angelo Compagnucci @ 2017-08-14 7:28 UTC (permalink / raw)
To: buildroot
Hello Devs!
I'm looking for a way to ensure kernel symbols are present for the
sysdig kernel module (CONFIG_TRACEPOINTS
CONFIG_HAVE_SYSCALL_TRACEPOINTS). Is there a simple way to express
such a dependency?
Thanks!
--
Profile: http://it.linkedin.com/in/compagnucciangelo
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] Ensuring kernel symbols for a module
2017-08-14 7:28 [Buildroot] Ensuring kernel symbols for a module Angelo Compagnucci
@ 2017-08-14 8:21 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2017-08-14 8:21 UTC (permalink / raw)
To: buildroot
Hello,
On Mon, 14 Aug 2017 09:28:36 +0200, Angelo Compagnucci wrote:
> I'm looking for a way to ensure kernel symbols are present for the
> sysdig kernel module (CONFIG_TRACEPOINTS
> CONFIG_HAVE_SYSCALL_TRACEPOINTS). Is there a simple way to express
> such a dependency?
You can add more logic in linux/linux.mk. See:
$(if $(BR2_PACKAGE_KTAP),
$(call KCONFIG_ENABLE_OPT,CONFIG_DEBUG_FS,$(@D)/.config)
$(call KCONFIG_ENABLE_OPT,CONFIG_ENABLE_DEFAULT_TRACERS,$(@D)/.config)
$(call KCONFIG_ENABLE_OPT,CONFIG_PERF_EVENTS,$(@D)/.config)
$(call KCONFIG_ENABLE_OPT,CONFIG_FUNCTION_TRACER,$(@D)/.config))
for example.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-08-14 8:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-14 7:28 [Buildroot] Ensuring kernel symbols for a module Angelo Compagnucci
2017-08-14 8:21 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox