mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: 陈弋玺 <jasoncyx@163.com>
To: linux-kernel@vger.kernel.org, linux-x86_64@vger.kernel.org
Subject: [Ask for Help]LBR usage in kernel
Date: Thu, 20 Feb 2020 21:53:18 +0800 (CST)	[thread overview]
Message-ID: <3dad7270.821a.17062dfcb99.Coremail.jasoncyx@163.com> (raw)

Hi experts,
    We want to try to retreive callchains of some perf events from LBR rather than frame stacks, as the information in frame stacks would be optimized by compiler. After investigating the usage of LBR in kernel, we found that LBR can only operated via Intel PMU, that means for now only callchains of hardware events can be retrieved from LBR. Is that correct? 
    If yes, I wonder if callchains of other perf events(eg. tracepoint, software events) can be retrieved from LBR? Or only callchains of events on PMU can be retrieved from LBR as there are some hardware restrictions?

Thanks for any help you can offer!

Best Regards,
Yixi Chen

             reply	other threads:[~2020-02-20 13:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-20 13:53 陈弋玺 [this message]
2020-02-24  1:28 ` Xu, Like

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=3dad7270.821a.17062dfcb99.Coremail.jasoncyx@163.com \
    --to=jasoncyx@163.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-x86_64@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®