Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e89d1352 authored by Lingutla Chandrasekhar's avatar Lingutla Chandrasekhar
Browse files

trace/sched: use proper specifier to avoid compilation errors



WALT utilization is u32 type. But the sched_load_se trace point
incorrectly uses %lu as its specifier, this results in a compilation
failure. Fix it by using %u specifier.

Change-Id: I2369c6bb79e09468301961a837875e7472148a83
Signed-off-by: default avatarLingutla Chandrasekhar <clingutla@codeaurora.org>
parent 7980215c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -880,7 +880,7 @@ TRACE_EVENT(sched_load_se,
#endif
	),

	TP_printk("cpu=%d path=%s comm=%s pid=%d load=%lu util=%lu util_pelt=%lu util_walt=%lu",
	TP_printk("cpu=%d path=%s comm=%s pid=%d load=%lu util=%lu util_pelt=%lu util_walt=%u",
		  __entry->cpu, __get_str(path), __entry->comm,
		  __entry->pid, __entry->load, __entry->util,
		  __entry->util_pelt, __entry->util_walt)