All of lore.kernel.org
 help / color / mirror / Atom feed
From: Milian Wolff <milian.wolff@kdab.com>
To: linux-perf-users@vger.kernel.org
Subject: LBR unwinding for user defined dynamic trace point
Date: Tue, 15 Sep 2015 15:12:02 +0200	[thread overview]
Message-ID: <2495974.rH49Pff4SO@milian-kdab2> (raw)

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

Hey all,

I just tried to use LBR with a user defined dynamic trace point and get a 
strange error message:

$ sudo perf probe -x /lib64/libc.so.6 malloc
$ sudo perf record -e probe_libc:malloc --call-graph lbr -F 1000 ./foo
Error:
The sys_perf_event_open() syscall returned with 95 (Operation not supported) 
for event (probe_libc:malloc).
/bin/dmesg may provide additional information.
No CONFIG_PERF_EVENTS=y kernel support configured?

When I do the same with the Dwarf unwinder, it works just fine. Using the LBR 
unwinder with a performance counter like instructions also works fine. Does 
anyone know what the issue is here?
-- 
Milian Wolff | milian.wolff@kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel: +49-30-521325470
KDAB - The Qt Experts

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5903 bytes --]

             reply	other threads:[~2015-09-15 13:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-15 13:12 Milian Wolff [this message]
2015-09-15 14:02 ` LBR unwinding for user defined dynamic trace point Andi Kleen
2015-09-16  9:55   ` Milian Wolff
2015-09-16 18:56     ` Andi Kleen
2016-04-07 15:05       ` Milian Wolff
2016-04-07 15:55         ` Andi Kleen

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=2495974.rH49Pff4SO@milian-kdab2 \
    --to=milian.wolff@kdab.com \
    --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.