All of lore.kernel.org
 help / color / mirror / Atom feed
* LBR unwinding for user defined dynamic trace point
@ 2015-09-15 13:12 Milian Wolff
  2015-09-15 14:02 ` Andi Kleen
  0 siblings, 1 reply; 6+ messages in thread
From: Milian Wolff @ 2015-09-15 13:12 UTC (permalink / raw)
  To: linux-perf-users

[-- 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 --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-04-07 15:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-15 13:12 LBR unwinding for user defined dynamic trace point Milian Wolff
2015-09-15 14:02 ` 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

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.