Hello Manuel,

   that's a very nice interesting piece of code! Thank you very much!

   Now two different questions arise:

* still, is this possible through regular perf binary from the linux kernel?

* with respect to your code, I observe that the data region for the PEBS collected samples is pointed by metadata_page. However, when printing its contents through print_samples the output does not print time-stamps. Are the time-stamps collected? If so, how can one access to that information?

Thank you very much in advance!!

On 04/02/15 14:06, Manuel Selva wrote:
Yes you can. I wrote a small "memory not" for how to do this while
trying to enable memory sampling:

https://manuelselva.wordpress.com/2013/10/31/how-to-use-the-linux-perf_event_open-system-call/

I also wrote some code exampl here:
https://github.com/ManuelSelva/c4fun/tree/master/pebs_tests

2015-02-04 13:48 GMT+01:00 Harald Servat <[email protected]
<mailto:[email protected]>>:

    Hello list,

       is there any way to configure perf to sample memory references
    through PEBS and enable the Load Latency Performance Monitoring
    Facility (section 18.7.1.2 from the Intel 64 and IA-32 Architectures
    Software Developer's Manual).

    Thank you very much in advance.

    WARNING / LEGAL TEXT: This message is intended only for the use of the
    individual or entity to which it is addressed and may contain
    information which is privileged, confidential, proprietary, or exempt
    from disclosure under applicable law. If you are not the intended
    recipient or the person responsible for delivering the message to the
    intended recipient, you are strictly prohibited from disclosing,
    distributing, copying, or in any way using this message. If you have
    received this communication in error, please notify the sender and
    destroy and delete any copies you may have received.

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




WARNING / LEGAL TEXT: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information which is privileged, confidential, proprietary, or exempt
from disclosure under applicable law. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, you are strictly prohibited from disclosing,
distributing, copying, or in any way using this message. If you have
received this communication in error, please notify the sender and
destroy and delete any copies you may have received.

http://www.bsc.es/disclaimer
--
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