linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: matoro <matoro_mailinglist_kernel@matoro.tk>
To: linux-perf-users@vger.kernel.org
Subject: Recent perf-tools does not compile on alpha
Date: Fri, 07 Oct 2022 23:53:15 -0400	[thread overview]
Message-ID: <43a0c856c61f0bee69290b82c7bd8e7a@matoro.tk> (raw)

Hi!  Recent versions of the perf tools (5.19) do not compile on alpha 
with the following errors:

util/unwind-libdw.c: In function ‘memory_read’:
util/unwind-libdw.c:161:62: error: ‘PERF_REG_SP’ undeclared (first use 
in this function); did you mean ‘PERF_MEM_S’?
   161 |         ret = perf_reg_value(&start, &ui->sample->user_regs, 
PERF_REG_SP);
       |                                                              
^~~~~~~~~~~
       |                                                              
PERF_MEM_S
util/unwind-libdw.c:161:62: note: each undeclared identifier is reported 
only once for each function it appears in
util/unwind-libdw.c: In function ‘unwind__get_entries’:
util/unwind-libdw.c:255:53: error: ‘PERF_REG_IP’ undeclared (first use 
in this function); did you mean ‘PERF_REGS_MAX’?
   255 |         err = perf_reg_value(&ip, &data->user_regs, 
PERF_REG_IP);
       |                                                     ^~~~~~~~~~~
       |                                                     
PERF_REGS_MAX

Wondering if anybody has some pointers about where these definitions 
should be coming from on alpha?

             reply	other threads:[~2022-10-08  3:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-08  3:53 matoro [this message]
2022-10-10 14:54 ` Recent perf-tools does not compile on alpha James Clark

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=43a0c856c61f0bee69290b82c7bd8e7a@matoro.tk \
    --to=matoro_mailinglist_kernel@matoro.tk \
    --cc=linux-perf-users@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;
as well as URLs for NNTP newsgroup(s).