linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: Mark Davis <markdavisinboston@gmail.com>
Cc: linux-perf-users@vger.kernel.org
Subject: Re: make perf-targz-src-pkg or better approach to install perf?
Date: Tue, 21 Feb 2017 20:15:07 -0300	[thread overview]
Message-ID: <20170221231507.GI5052@kernel.org> (raw)
In-Reply-To: <CAPe7T+-MO04yfoNSMy91F-z9F759Y8Moa_NUBs7KUJURmVrtJA@mail.gmail.com>

Em Tue, Feb 21, 2017 at 03:42:39PM -0500, Mark Davis escreveu:
> Hi all. I used to use
> 
> make perf-targz-src-pkg
> 
> to install perf from the linux/tools/perf source. I'm now trying to
> upgrade my perf installation from source again and I'm not seeing this
> make target. I'm having a bit of trouble with dependencies. Here's
> what I get when I try to build. (Note: my source is from github
> (https://github.com/torvalds/linux) at 772c8f6 (from a couple hours

So, please pull again from that repo, I made changes to make tools/
build with clang 4.0, should be working and have the warnings addressed
below fixed.

> ago). Is there a new / recommended approach to installing perf that is
> similar to the above approach? I don't have root on this machine and
> need to install either from source or a relatively recent package that
> I can install to an arbitrary directory. I'm using clang 3.8.0 as my
> compiler (note: I can change this or upgrade this if necessary). In
> particular I'm trying to get BPF in perf-record, which seems to be
> disabled based on the warnings that print out.
> 
> I'm also getting this other compiler error:
> 
> warning: optimization level '-O6' is not supported; using '-O3' instead
> 
>   CC       pmu-events/pmu-events.o
> 
> error: unknown warning option '-Wstrict-aliasing=3'; did you mean
> '-Wstring-plus-int'?
> 
>       [-Werror,-Wunknown-warning-option]
> 
> 

- Arnaldo

  reply	other threads:[~2017-02-21 23:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-21 20:42 make perf-targz-src-pkg or better approach to install perf? Mark Davis
2017-02-21 23:15 ` Arnaldo Carvalho de Melo [this message]
2017-02-22 22:04   ` Mark Davis
2017-02-22 22:08     ` Arnaldo Carvalho de Melo
2017-02-22 22:32       ` Mark Davis
2017-02-22 22:33         ` 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=20170221231507.GI5052@kernel.org \
    --to=acme@kernel.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=markdavisinboston@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).