Wind River Support Network

HomeDefectsLIN6-1830
Not to be fixed

LIN6-1830 : perf is NOT enabled in preempt-rt kernel

Created: Dec 2, 2013    Updated: Apr 19, 2018
Resolved Date: Apr 17, 2018
Found In Version: 6.0
Severity: Severe
Applicable for: Wind River Linux 6
Component/s: Kernel

Description

The perf is NOT enabled in preempt-rt kernel, and there is no template under wr-kernel/templates/feature/ for customer to enable perf feature when configure project.

In standard kernel, the feature perf is enabled by default

Steps to Reproduce

1. configure and build project with preempt-rt kernel

--enable-kernel=preempt-rt

2. boot the target and check the kernel option 

root@localhost:~# 
root@localhost:~# zcat /proc/config.gz | grep PERF
CONFIG_HAVE_PERF_EVENTS=y
CONFIG_PERF_USE_VMALLOC=y
# CONFIG_PERF_EVENTS is not set
# CONFIG_CLS_U32_PERF is not set
root@localhost:~# 
root@localhost:~# 
root@localhost:~# uname -a
Linux localhost 3.10.19-rt11-WR6.0.0.0_preempt-rt #1 SMP PREEMPT RT Mon Nov 25 10:41:15 CST 2013 armv7l GNU/Linux
Live chat
Online