public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Hunter <adrian.hunter@intel.com>
To: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: perf: make tarball broken by some file added by pt/bts
Date: Fri, 21 Aug 2015 22:08:06 +0300	[thread overview]
Message-ID: <55D77716.9000203@intel.com> (raw)
In-Reply-To: <55D77696.60102@intel.com>

On 21/08/2015 10:05 p.m., Adrian Hunter wrote:
> On 21/08/2015 7:33 p.m., Arnaldo Carvalho de Melo wrote:
>>    CC       util/scripting-engines/trace-event-python.o
>>    CC       util/intel-pt-decoder/intel-pt-insn-decoder.o
>> util/intel-pt-decoder/intel-pt-insn-decoder.c:23:22: fatal error:
>> asm/insn.h: No such file or directory
>>   #include <asm/insn.h>
>>                        ^
>> compilation terminated.
>
> Here is what I found was needed
>
> 0001-perf-tools-Fix-tarball-build-broken-by-pt-bts.patch
>
>
>  From 8d36bfbc31c4a845b0a22b2dd4fcca86be7f0058 Mon Sep 17 00:00:00 2001
> From: Adrian Hunter<ajhunter@gmail.com>
> Date: Fri, 21 Aug 2015 21:57:42 +0300
> Subject: [PATCH] perf tools: Fix tarball build broken by pt/bts
>
> Fix some include paths and add missing inat_types.h.
>
> Signed-off-by: Adrian Hunter<adrian.hunter@intel.com>
> ---
>   tools/perf/tests/perf-targz-src-pkg                |  2 +-
>   tools/perf/util/intel-pt-decoder/inat.c            |  2 +-
>   tools/perf/util/intel-pt-decoder/inat.h            |  2 +-
>   tools/perf/util/intel-pt-decoder/inat_types.h      | 29 ++++++++++++++++++++++
>   tools/perf/util/intel-pt-decoder/insn.c            |  4 +--
>   tools/perf/util/intel-pt-decoder/insn.h            |  2 +-
>   .../util/intel-pt-decoder/intel-pt-insn-decoder.c  |  2 +-
>   7 files changed, 36 insertions(+), 7 deletions(-)
>   create mode 100644 tools/perf/util/intel-pt-decoder/inat_types.h
>
> diff --git a/tools/perf/tests/perf-targz-src-pkg b/tools/perf/tests/perf-targz-src-pkg
> index 238aa39..261a912 100755
> --- a/tools/perf/tests/perf-targz-src-pkg
> +++ b/tools/perf/tests/perf-targz-src-pkg
> @@ -17,5 +17,5 @@ rm -f ${TARBALL}
>   cd - > /dev/null
>   make -C $TMP_DEST/perf*/tools/perf > /dev/null 2>&1
>   RC=$?
> -rm -rf ${TMP_DEST}
> +#rm -rf ${TMP_DEST}

Err, not that bit though.

  reply	other threads:[~2015-08-21 19:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-21 16:33 perf: make tarball broken by some file added by pt/bts Arnaldo Carvalho de Melo
2015-08-21 19:05 ` Adrian Hunter
2015-08-21 19:08   ` Adrian Hunter [this message]
2015-08-21 19:53     ` Arnaldo Carvalho de Melo
2015-08-21 19:51   ` Arnaldo Carvalho de Melo
2015-08-28  6:36   ` [tip:perf/core] perf tools: Fix tarball build broken " tip-bot for Adrian Hunter

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=55D77716.9000203@intel.com \
    --to=adrian.hunter@intel.com \
    --cc=acme@kernel.org \
    --cc=jolsa@kernel.org \
    --cc=linux-kernel@vger.kernel.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