33 lines
1.2 KiB
Diff
33 lines
1.2 KiB
Diff
From 44c7706b2516a807d82f3fdd6807d355492a6992 Mon Sep 17 00:00:00 2001
|
|
From: Shuo Liu <shuo.a.liu@intel.com>
|
|
Date: Sat, 29 Sep 2018 11:00:46 +0800
|
|
Subject: [PATCH 575/743] vhm: change trace_printk of vhm_dev_ioctl to pr_debug
|
|
|
|
trace_printk will write into the ring buffer by default. Actually, we
|
|
don't need this trace entry as there are many vhm ioctls happen at
|
|
runtime which will flood the ring buffer. So change it to dynamic printk.
|
|
|
|
Tracked-On: projectacrn/acrn-hypervisor#1328
|
|
Signed-off-by: Shuo Liu <shuo.a.liu@intel.com>
|
|
Acked-by: Anthony Xu <anthony.xu@intel.com>
|
|
---
|
|
drivers/char/vhm/vhm_dev.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/drivers/char/vhm/vhm_dev.c b/drivers/char/vhm/vhm_dev.c
|
|
index 0d25f732da5b..987c7ceea261 100644
|
|
--- a/drivers/char/vhm/vhm_dev.c
|
|
+++ b/drivers/char/vhm/vhm_dev.c
|
|
@@ -160,7 +160,7 @@ static long vhm_dev_ioctl(struct file *filep,
|
|
struct ic_ptdev_irq ic_pt_irq;
|
|
struct hc_ptdev_irq hc_pt_irq;
|
|
|
|
- trace_printk("[%s] ioctl_num=0x%x\n", __func__, ioctl_num);
|
|
+ pr_debug("[%s] ioctl_num=0x%x\n", __func__, ioctl_num);
|
|
|
|
if (ioctl_num == IC_GET_API_VERSION) {
|
|
struct api_version api_version;
|
|
--
|
|
2.19.2
|
|
|