From: Anders Darander Date: Tue, 10 Dec 2013 13:55:29 +0100 Subject: [Buildroot] [PATCH v5 1/1] ktap: new package In-Reply-To: <87haag6fzv.fsf@dell.be.48ers.dk> References: <1386676781-22541-1-git-send-email-anders@chargestorm.se> <87haag6fzv.fsf@dell.be.48ers.dk> Message-ID: <20131210125526.GA5876@ad.chargestorm.se> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net * Peter Korsgaard [131210 13:35]: > >>>>> "Anders" == Anders Darander writes: > > Add ktap, a script-based dynamic tracing tool. > > Signed-off-by: Anders Darander > > --- > > Changes v4 -> v5: > > - Remove trailing whitespace that was added by mistake in > > last version. > I just did a little test build with qemu_arm_versatile_defconfig: > /home/peko/source/buildroot/output/build/ktap-v0.3/interpreter/ktap.c:32:6: warning: "CONFIG_EVENT_TRACING" is not defined [-Wundef] > /home/peko/source/buildroot/output/build/ktap-v0.3/interpreter/ktap.c:33:2: error: #error "Please enable CONFIG_EVENT_TRACING before compile ktap" > /home/peko/source/buildroot/output/build/ktap-v0.3/interpreter/ktap.c:36:6: warning: "CONFIG_PERF_EVENTS" is not defined [-Wundef] > /home/peko/source/buildroot/output/build/ktap-v0.3/interpreter/ktap.c:37:2: error: #error "Please enable CONFIG_PERF_EVENTS before compile ktap" > make[3]: *** [/home/peko/source/buildroot/output/build/ktap-v0.3/interpreter/ktap.o] Error 1 > It would be good if we could automatically enable the needed kernel > features when ktap is enabled, similar to how we do for E.G. devtmpfs. Sure, that would be an idea. I could take a look at that, as long as it's OK with everyone that enabling ktap might change the kernel config. (Though, it'll be pretty deterministic anyway)... > But that can be done as a followup patch, so committed - Thanks. Thanks! Cheers, Anders