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




--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to