[PATCH v2 0/2] clk: Rate Request Tracing

From: maxime
Date: Wed Oct 26 2022 - 09:48:20 EST


Hi,

Here's a couple of patches to enable the tracing of clk_rate_requests as they
are submitted to round/determine_rate.

Let me know what you think,
Maxime

To: Michael Turquette <mturquette@xxxxxxxxxxxx>
To: Stephen Boyd <sboyd@xxxxxxxxxx>
To: Steven Rostedt <rostedt@xxxxxxxxxxx>
To: Masami Hiramatsu <mhiramat@xxxxxxxxxx>
Cc: linux-clk@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
Signed-off-by: Maxime Ripard <maxime@xxxxxxxxxx>

---
Changes in v2:
- Used a more optimal structure layout for the event
- Added a commit log to the first patch
- Link to v1: https://lore.kernel.org/r/20221018-clk-rate-request-tracing-v1-0-6f3aa0b0b9de@xxxxxxxxxx

---
Maxime Ripard (2):
clk: Store clk_core for clk_rate_request
clk: Add trace events for rate requests

drivers/clk/clk.c | 32 ++++++++++++++++++++++++++++++++
include/linux/clk-provider.h | 2 ++
include/trace/events/clk.h | 43 +++++++++++++++++++++++++++++++++++++++++++
3 files changed, 77 insertions(+)
---
base-commit: 69a14e4a9d5a0e1ed73063e0d439c3cb33ce9829
change-id: 20221018-clk-rate-request-tracing-74e80b4534d1

Best regards,
--
Maxime Ripard <maxime@xxxxxxxxxx>