Re: Help needed

will schmidt <[email protected]> Tue, 05 Apr 2022 10:46:22 -0500
Newsgroups gmane.linux.oprofile
Message-ID <[email protected]>
On Tue, 2022-04-05 at 15:29 +0530, Giri Prasad wrote:
> 
> 1) I installed operf in linux machine, below is the version:
> 
> operf: oprofile 1.3.0 compiled on Feb  2 2020 20:33:34
> 

> 2) I wrote a simple program and ran : operf ./a.out
> 
> 3) it generated the folder: oprofile_data
> 
> 4) when i run opreport as below:
> 
> ##> opreport session:oprofile_data event:DATA_MEM_REFS
> Using /home/prasadgi/tools/cpp/oprofile_data/samples/ for samples
> directory.
> opreport error: No sample found: Please specify a session containing
> sample data.
> 
> Please help what is missing ?

 
Most likely the program did not run long enough or simply did not
trigger any DATA_MEM_REFS events.

Does opreport give you any output if
you leave off the "event:" qualifier? 

Thanks
-Will (Schmidt)


> 
> Regards,
> Giri Prasad
> _______________________________________________
> oprofile-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oprofile-list