OSDN Git Service

PM: QoS: Simplify definitions of CPU latency QoS trace events
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 11 Feb 2020 23:06:17 +0000 (00:06 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 13 Feb 2020 10:26:39 +0000 (11:26 +0100)
commit333eed7d20069e2d80446f5fdf9ac3868b55e7b9
tree76a1a7561d0ae9b2fbc727988123fb844bebbe78
parent2552d3520132a22834e0be85c51168a7a798608c
PM: QoS: Simplify definitions of CPU latency QoS trace events

Modify the definitions of the CPU latency QoS trace events to take
one argument (since PM_QOS_CPU_DMA_LATENCY is always passed as the
pm_qos_class argument to them) and update the documentation of them
accordingly (while at it, make it explicitly mention CPU latency QoS
and relocate it after the device PM QoS trace events documentation).

The names and output format of the trace events do not change to
preserve user space compatibility.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Tested-by: Amit Kucheria <amit.kucheria@linaro.org>
Documentation/trace/events-power.rst
include/trace/events/power.h
kernel/power/qos.c