Skip to contentSkip to conversation

Permission denied while profiling my own application

DISCUSSION 陳韋任 1 participant 1 message Mar 15, 2011

lore
Share & tools
lore

陳韋任

author
#0 lore raw

Hi, all

perf works fine while profiling system utilities (ls, git, ... etc).
But I got a permission deny when I tried to profile a HelloWorld program which was compiled by myself. For example,

$ perf stat -e cycles hello
hello: Permission denied
Terminated

Do I miss something? Thanks.

Regards,
chenwj

Signature · 4 lines
Wei-Ren Chen (陳韋任)
Parallel Processing Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667