All of lore.kernel.org
 help / color / mirror / Atom feed
From: Milian Wolff <mail@milianw.de>
To: linux-perf-users@vger.kernel.org
Subject: Haswell LBR call stacks
Date: Sun, 14 Jun 2015 13:02:57 +0200	[thread overview]
Message-ID: <1682663.JO3lAz5bZo@agathebauer> (raw)

[-- Attachment #1: Type: text/plain, Size: 890 bytes --]

Hey all,

Some time ago I read this interesting article: 

http://article.gmane.org/gmane.linux.kernel/1809078

It mentions a new call stack unwinding for perf, based on Haswell LBR 
facility. I now have a new Laptop with a Broadwell i7-5600U CPU, but my perf 
version 4.0.3 running against a Linux 4.0.4 kernel (all vanilla Archlinux 
versions) does not seem to support this feature. Was it ever included in the 
mainline? Is a special compiler flag required to enable this feature? Anything 
else I'm missing?

callchain: Unknown --call-graph option value: lbr

 usage: perf record [<options>] [<command>]
    or: perf record [<options>] -- <command> [<options>]

        --call-graph <mode[,dump_size]>
                          setup and enables call-graph (stack chain/backtrace) 
recording: fp dwarf

Thanks
-- 
Milian Wolff
mail@milianw.de
http://milianw.de

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

             reply	other threads:[~2015-06-14 11:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-14 11:02 Milian Wolff [this message]
2015-08-04 17:24 ` Haswell LBR call stacks - broken Milian Wolff
2015-08-04 18:10   ` Andi Kleen
2015-08-04 21:41     ` Liang, Kan
2015-08-05  9:02       ` Milian Wolff

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=1682663.JO3lAz5bZo@agathebauer \
    --to=mail@milianw.de \
    --cc=linux-perf-users@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.