Wind River Support Network

HomeDefectsCGP8-176
Not to be fixed

CGP8-176 : oprofile does not work on fsl-e500mc

Created: Feb 17, 2016    Updated: Apr 28, 2018
Resolved Date: Apr 17, 2018
Previous ID: LIN8-2782
Found In Version: 8.0
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Userspace

Description

root@p4080ds:/root# operf ls
Unable to obtain cpu_type
Verify that a pre-1.0 version of OProfile is not in use.
If the /dev/oprofile/cpu_type file exists, locate the pre-1.0 OProfile
installation, and use its 'opcontrol' command, passing the --deinit option.
Unable to ascertain cpu type.  Exiting. 

Steps to Reproduce

1. configure --enable-board=fsl-e500mc --enable-kernel=cgl --enable-rootfs=glibc-cgl
2. make oprofile.addpkg
3. make fs
4. deploy the rootfs, and boot up the target
5. run operf
    #operf ls
    Unable to obtain cpu_type
    Verify that a pre-1.0 version of OProfile is not in use.
    If the /dev/oprofile/cpu_type file exists, locate the pre-1.0 OProfile
    installation, and use its 'opcontrol' command, passing the --deinit option.  
    Unable to ascertain cpu type. Exiting.
    # 
Live chat
Online