Skip to content
Commit adfc9bc2 authored by Wojciech Zmuda's avatar Wojciech Zmuda Committed by Ruiqiang Hao
Browse files

octeontx2-pcicons: provide toggle for trace_printk



commit f68568783588cfb919858b8ff071e3edf08c0bfe from
git@git.assembla.com:cavium/WindRiver.linux.git

If kernel is built with tracing capabilities, presence of trace_printk()
call anywhere in kernel code causes kernel to allocate extra buffers for
tracing purposes (on boot time, even if tracing is disabled). A warning
is shown in kernel log as well.

Provide a compile-time switch for tracing enablement in the PCIe console
driver, so it can be enabled during developer build manually as needed.

Change-Id: Ic3cca188bbc1a1a36846db41ce460cb445bac635
Signed-off-by: default avatarWojciech Zmuda <wzmuda@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/88070


Reviewed-by: default avatarChandrakala Chavva <cchavva@marvell.com>
Tested-by: default avatarsa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com>
Signed-off-by: default avatarRuiqiang Hao <Ruiqiang.Hao@windriver.com>
parent 63f0e37d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment