diff mbox series

[1/3] trace: events: devfreq: Use fixed indentation size to improve readability

Message ID 20201008075403.26181-2-cw00.choi@samsung.com
State Accepted
Commit 4281461c01f702f9427554718988b5e8fbfd64fb
Headers show
Series PM / devfreq: Add devfreq_frequency tracepoint to track frequency change | expand

Commit Message

Chanwoo Choi Oct. 8, 2020, 7:54 a.m. UTC
Each tracepoint infromation consist of the different size value.
So, in order to improve the readability, use the fixed indentation size.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
---
 include/trace/events/devfreq.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/include/trace/events/devfreq.h b/include/trace/events/devfreq.h
index cf5b8772175d..bd36d28d16bc 100644
--- a/include/trace/events/devfreq.h
+++ b/include/trace/events/devfreq.h
@@ -29,7 +29,7 @@  TRACE_EVENT(devfreq_monitor,
 		__assign_str(dev_name, dev_name(&devfreq->dev));
 	),
 
-	TP_printk("dev_name=%s freq=%lu polling_ms=%u load=%lu",
+	TP_printk("dev_name=%-30s freq=%-12lu polling_ms=%-3u load=%-2lu",
 		__get_str(dev_name), __entry->freq, __entry->polling_ms,
 		__entry->total_time == 0 ? 0 :
 			(100 * __entry->busy_time) / __entry->total_time)