linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Harald Servat <harald.servat@bsc.es>
To: Manuel Selva <selva.manuel@gmail.com>
Cc: "linux-perf-users@vger.kernel.org" <linux-perf-users@vger.kernel.org>
Subject: Re: Sample memory references with at least a given latency?
Date: Wed, 04 Feb 2015 14:34:55 +0100	[thread overview]
Message-ID: <54D21FFF.7050504@bsc.es> (raw)
In-Reply-To: <CALbiyZw=SqhFLtzse53SW_B-JMo-+AxPGDAE9C_aBmo4X88mrA@mail.gmail.com>


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 <harald.servat@bsc.es
> <mailto:harald.servat@bsc.es>>:
>
>     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 majordomo@vger.kernel.org
>     <mailto:majordomo@vger.kernel.org>
>     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

  parent reply	other threads:[~2015-02-04 13:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-04 12:48 Sample memory references with at least a given latency? Harald Servat
     [not found] ` <CALbiyZyJhUNfMNOYwJ26P-Lq+3E_xM8SpZ9CG+WR70-n_k9x8A@mail.gmail.com>
2015-02-04 14:20   ` Harald Servat
2015-02-04 14:33     ` Vince Weaver
2015-02-05 11:33     ` Manuel Selva
2015-02-05 11:39       ` Harald Servat
2015-02-05 16:58 ` Andi Kleen
2015-02-05 18:54   ` Manuel Selva
2015-02-05 18:59     ` Andi Kleen
     [not found] ` <CALbiyZw=SqhFLtzse53SW_B-JMo-+AxPGDAE9C_aBmo4X88mrA@mail.gmail.com>
2015-02-04 13:34   ` Harald Servat [this message]
2015-02-18  9:31   ` Harald Servat

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=54D21FFF.7050504@bsc.es \
    --to=harald.servat@bsc.es \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=selva.manuel@gmail.com \
    /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).