public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Namhyung Kim <namhyung@kernel.org>
To: Arnaldo Carvalho de Melo <acme@infradead.org>
Cc: Ingo Molnar <mingo@kernel.org>,
	linux-kernel@vger.kernel.org, David Ahern <dsahern@gmail.com>,
	Frederic Weisbecker <fweisbec@gmail.com>,
	Jiri Olsa <jolsa@redhat.com>, Mike Galbraith <efault@gmx.de>,
	Paul Mackerras <paulus@samba.org>,
	Peter Zijlstra <peterz@infradead.org>,
	Stephane Eranian <eranian@google.com>
Subject: Re: [PATCH 09/11] perf python: Link with libtraceevent
Date: Fri, 19 Oct 2012 00:40:27 +0900	[thread overview]
Message-ID: <1350574827.1610.8.camel@leonhard> (raw)
In-Reply-To: <20121018143835.GE2057@infradead.org>

2012-10-18 (목), 11:38 -0300, Arnaldo Carvalho de Melo:
> Em Thu, Oct 18, 2012 at 11:00:33AM -0300, Arnaldo Carvalho de Melo escreveu:
> > Em Thu, Oct 18, 2012 at 10:38:18AM +0900, Namhyung Kim escreveu:
> > > On Wed, 17 Oct 2012 14:19:45 -0300, Arnaldo Carvalho de Melo wrote:
> > > I got a build error after adding 'extern unsigned int page_size' to
> > > util/python.c - please see my previous reply.
> > > 
> > >   namhyung@sejong:perf$ make
> > >       SUBDIR ../lib/traceevent/
> > >       LINK perf
> > >       GEN python/perf.so
> > >   gcc: error: python_ext_build/tmp//../../libtraceevent.a: No such file or directory
> > >   error: command 'gcc' failed with exit status 1
> > >   cp: cannot stat `python_ext_build/lib/perf.so': No such file or directory
> > >   make: *** [python/perf.so] Error 1
> > >   TRACE_EVENT_DIR = ../lib/traceevent/
>    
> > >   ifneq ($(OUTPUT),)
> > >   	TE_PATH=$(OUTPUT)
> > >   else
> > >   	TE_PATH=$(TRACE_EVENT_DIR)
> > >   endif
> > >   
> > >   LIBTRACEEVENT = $(TE_PATH)libtraceevent.a
> > 
> > I see, so we need to somehow propagate this TE_PATH variable to the setup.py file...
> 
> Can you try with the attached patch? I tested it here and works with:
> 
>  make -C tools/perf
> 
> and with O=

It works well for me too:

Tested-by: Namhyung Kim <namhyung@kernel.org>

Thanks,
Namhyung




  reply	other threads:[~2012-10-18 15:40 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-17 17:19 [GIT PULL 00/11] perf/urgent fixes Arnaldo Carvalho de Melo
2012-10-17 17:19 ` [PATCH 01/11] perf tool: Precise mode requires exclude_guest Arnaldo Carvalho de Melo
2012-10-17 17:19 ` [PATCH 02/11] perf: Require exclude_guest to use PEBS - kernel side enforcement Arnaldo Carvalho de Melo
2012-10-17 17:19 ` [PATCH 03/11] perf tools: Fix segfault when using srcline sort key Arnaldo Carvalho de Melo
2012-10-17 17:19 ` [PATCH 04/11] perf tools: Remove warnings on JIT samples for " Arnaldo Carvalho de Melo
2012-10-17 17:19 ` [PATCH 05/11] perf hists browser: Fix off-by-two bug on the first column Arnaldo Carvalho de Melo
2012-10-17 17:19 ` [PATCH 06/11] lib tools traceevent: Add back pevent assignment in __pevent_parse_format() Arnaldo Carvalho de Melo
2012-10-17 17:19 ` [PATCH 07/11] tools lib traceevent: Fix missed freeing of subargs in free_arg() in filter Arnaldo Carvalho de Melo
2012-10-17 17:19 ` [PATCH 08/11] perf python: Initialize 'page_size' variable Arnaldo Carvalho de Melo
2012-10-18  1:31   ` Namhyung Kim
2012-10-18 13:58     ` Arnaldo Carvalho de Melo
2012-10-17 17:19 ` [PATCH 09/11] perf python: Link with libtraceevent Arnaldo Carvalho de Melo
2012-10-18  1:38   ` Namhyung Kim
2012-10-18 14:00     ` Arnaldo Carvalho de Melo
2012-10-18 14:38       ` Arnaldo Carvalho de Melo
2012-10-18 15:40         ` Namhyung Kim [this message]
2012-10-20  0:35           ` Ingo Molnar
2012-10-20 15:04             ` Arnaldo Carvalho de Melo
2012-10-21 13:33               ` Ingo Molnar
2012-10-17 17:19 ` [PATCH 10/11] perf tools: Fix build on sparc Arnaldo Carvalho de Melo
2012-10-18  1:39   ` Namhyung Kim
2012-10-18  2:15     ` David Miller
2012-10-17 17:19 ` [PATCH 11/11] perf hists browser: Add back callchain folding symbol Arnaldo Carvalho de Melo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1350574827.1610.8.camel@leonhard \
    --to=namhyung@kernel.org \
    --cc=acme@infradead.org \
    --cc=dsahern@gmail.com \
    --cc=efault@gmx.de \
    --cc=eranian@google.com \
    --cc=fweisbec@gmail.com \
    --cc=jolsa@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=paulus@samba.org \
    --cc=peterz@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox