[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140721170153.42a0d5d2@gandalf.local.home>
Date: Mon, 21 Jul 2014 17:01:53 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Josef Bacik <jbacik@...com>
Cc: <linux-kernel@...r.kernel.org>, Darren Hart <darren@...art.com>,
Johannes Berg <johannes@...solutions.net>
Subject: Re: [PATCH] trace-cmd: add trace-record.o to the python shared lib
Cc'd my python gurus.
Acks?
-- Steve
On Mon, 21 Jul 2014 16:50:44 -0400
Josef Bacik <jbacik@...com> wrote:
> When trying to use the python library it was giving me an error about not being
> able to resolve tracecmd_stat_cpu. This is because we weren't linking
> trace-record.o to ctracecmd.so. Fix this in the makefile and now I can import
> trace-cmd in python properly. Thanks,
>
> Signed-off-by: Josef Bacik <jbacik@...com>
> ---
> Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Makefile b/Makefile
> index df5ec72..f6c2875 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -321,7 +321,7 @@ KERNEL_SHARK_OBJS = $(TRACE_VIEW_OBJS) $(TRACE_GRAPH_OBJS) $(TRACE_GUI_OBJS) \
> PEVENT_LIB_OBJS = event-parse.o trace-seq.o parse-filter.o parse-utils.o
> TCMD_LIB_OBJS = $(PEVENT_LIB_OBJS) trace-util.o trace-input.o trace-ftrace.o \
> trace-output.o trace-recorder.o trace-restore.o trace-usage.o \
> - trace-blk-hack.o kbuffer-parse.o event-plugin.o
> + trace-blk-hack.o kbuffer-parse.o event-plugin.o trace-record.o
>
> PLUGIN_OBJS =
> PLUGIN_OBJS += plugin_jbd2.o
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists