linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Recent perf-tools does not compile on alpha
@ 2022-10-08  3:53 matoro
  2022-10-10 14:54 ` James Clark
  0 siblings, 1 reply; 2+ messages in thread
From: matoro @ 2022-10-08  3:53 UTC (permalink / raw)
  To: linux-perf-users

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?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-10 14:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-08  3:53 Recent perf-tools does not compile on alpha matoro
2022-10-10 14:54 ` James Clark

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).