Skip to content

Commit

Permalink
trace: events: devfreq: Use fixed indentation size to improve readabi…
Browse files Browse the repository at this point in the history
…lity

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 <[email protected]>
  • Loading branch information
chanwoochoi committed Oct 26, 2020
1 parent 3650b22 commit 4281461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/trace/events/devfreq.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4281461

Please sign in to comment.