Re: Perf event setup failed

Michael Petlan <[email protected]>
Newsgroups gmane.linux.oprofile
Organization Red Hat
Message-ID <1430757966.5694.16.camel@Rudolf-RHEL-7>
Hi Mike,

could you try the following:

perf stat -e r04c5:pp ./something

and then

perf record -e r04c5:pp ./something
perf report


Could you provide some additional info, like kernel version, which
distro is it and cpuinfo?

Thanks.

Regards,
Michael


On Mon, 2015-05-04 at 09:56 -0500, Mike Accola wrote:
> I was trying to use operf using the
> br_misp_retired:400009:all_branches_pebs event on a machine with
> Haswell processor. 
> 
> I can run count with this event to get counters just fine. 
> 
> However, when I try to use it with operf, I get this error: 
> 
> operf -c -e br_misp_retired:400009:all_branches_pebs -d outdir -s 
> perf_event_open failed with Operation not supported 
> Caught runtime_error: Internal Error.  Perf event setup failed. 
> Error running profiler 
> 
> Any ideas why? 
> 
> I am using a version of operf 1.0.0 that we compile ourselves. 
> 
> Thanks.
> 
> 
> ___________________________________
> Mike Accola 
> IBM InfoSphere Streams 
> IBM Analytics
> 
> Phone: 720-349-3409 
> E-mail: [email protected] 
> 
> 
> 
> 
> 
>   
> 
>   
> 
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud 
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> oprofile-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oprofile-list



------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.