From mboxrd@z Thu Jan 1 00:00:00 1970 From: dwt@PolTec.COM (Dennis W. Tokarski) Date: Sat, 31 Jan 2009 23:05:39 -0500 Subject: [ltt-dev] [PATCH] Fix missing definition of ltt_get_alignment() in kernel/marker.c Message-ID: <49851F93.30406@PolTec.COM> Message-ID: <20090201040539.n_36-Entq4xujm-FNmsLzrsvBcV91BGVRZ4Uc9Czt7E@z> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, While looking into problems taking a trace on a dual cpu qemu-i386 VM, I decided to try a kernel which had ltt turned off in the configuration but was otherwise the same. This left me with ltt off but markers still on, and kernel/markers.c wouldn't build because several of the *trace_mark() calls use ltt_get_alignment() as an argument. Its definition in ltt-tracer.h is entirely enclosed within the #ifdef CONFIG_LLT...#endif. I propose to move it outside. Patch attached. - --Dennis -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJhR+DDJucIzCImrURAgGLAJ9W7r7hLS5rVvdy/uXLPM05Vk0g6gCgoVi0 7b/k63xy5k0SHbx3KJaBSD8= =OGm/ -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: ltt-tracer.h.patch Type: text/x-patch Size: 2065 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ltt-tracer.h.patch.sig Type: application/pgp-signature Size: 65 bytes Desc: not available URL: