* perf top for memory access profiling
@ 2015-07-07 12:20 Daniel Ortiz
0 siblings, 0 replies; only message in thread
From: Daniel Ortiz @ 2015-07-07 12:20 UTC (permalink / raw)
To: linux-perf-users
Hello
Right now I am interested in profiling memory accesses. So far I have
used perf mem record (perf mem record -W -d -e "cpu/mem-loads/pp") and
then perf mem report to get information about the address being
accessed, the access latency and the type of access such as l1,l2,l3 and
remote hit or miss. This information would correspon to the fields
"Local", "Weight, "Memory access" and "Data symbol" that are shown by
the default in perf mem report.
I need to move to solution that shows the sampled information right as
it is retrived from the hardware without user intervention, just like
perf top does. Howewer, it seems that perf top does not show such
information with memory access sampling, I have tried doiing the
following :
I started trying to run perf mem record -W -d -e "cpu/mem-loads/pp" but
then I realized that perf top does not support the -d and -W option in
the same way perf record does, what I did was changing the top struct in
the cmd_top functions more specifically the
top.record_opts.sample_address and top.record_opts.sample_weight fields
but the required information is still not shown.
The question is whether you know if perf top is capable in any way of
showing the same information that perf mem report shows even if some
tweaks are necessary.
Kind regards...
Daniel Ortiz
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-07-07 12:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-07 12:20 perf top for memory access profiling Daniel Ortiz
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).