Fixed
Created: Jan 6, 2016
Updated: Dec 3, 2018
Resolved Date: Aug 19, 2016
Found In Version: 8.0
Fix Version: 8.0.0.9
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Userspace
Problem Description
======================
run cpupcstat failed.
Expected Behavior
======================
run cpupcstat pass.
Observed Behavior
======================
log:
root@dell760-lxnetwork-vlan5:~# cpupcstat
Can't locate TLBC/OpCollect.pm in @INC (you may need to install the TLBC::OpCollect module) (@INC contains: /usr/bin /etc/perl /usr/lib64/perl/site_perl/5.20.0/ /usr/lib64/perl/site_perl/5.20.0 /usr/lib64/perl/vendor_perl/5.20.0/ /usr/lib64/perl/vendor_perl/5.20.0 /usr/lib64/perl/5.20.0/ /usr/lib64/perl/5.20.0 /usr/local/lib/site_perl .) at /usr/bin/cpupcstat line 12.
BEGIN failed--compilation aborted at /usr/bin/cpupcstat line 12.
root@dell760-lxnetwork-vlan5:~# which cpupcstat
/usr/bin/cpupcstat
root@dell760-lxnetwork-vlan5:~# rpm -qf /usr/bin/cpupcstat
libhugetlbfs-2.18-r0.0.core2_64
root@dell760-lxnetwork-vlan5:~#
1. configure --enable-board=intel-x86-64 --enable-kernel=standard --enable-rootfs=glibc-std --enable-jobs=8 --enable-parallel-pkgbuilds=8 --enable-test=yes --enable-reconfig --with-template=feature/ptest,feature/acl,feature/valgrind,feature/oprofile,feature/mariadb,feature/nfsd,feature/lttng --enable-build=profiling
make fs
2, deploy and boot
3, run command:
# cpupcstat