PM: Add debugging information for pm_qos.
authorWoosung Lee <wstar.lee@samsung.com>
Wed, 20 Aug 2014 05:53:14 +0000 (14:53 +0900)
committerChungwoo Park <cww.park@samsung.com>
Mon, 21 May 2018 08:09:00 +0000 (17:09 +0900)
commit779b80b993df82143ed55a0e01441426789aadc3
tree5ce206a4f7350c9771e6659fb8b0d18f1779400b
parenteb7765563bde7be414809dcf9e2855ef7d18cd43
PM: Add debugging information for pm_qos.

During debugging or profiling, pm_qos list like below is useful information.

device_throughput
default value: 0
target value: 468000
requests:
ffffffc0012896f8: 0
ffffffc06f2f0458: 0

But only pm_qos_request declared for global name space could find what it is.
If pm_qos_request declared in local name space, its address doesn't appeared in
System.map file.

So add more information about pm_qos_request's position like below.

device_throughput
default value: 0
target value: 468000
requests:
ffffffc0012896f8(lpass_probe:1027): 0
ffffffc06f2f0458(fimg2d_pm_qos_add_bus:170): 0

Change-Id: Iae92bcc261054a0818a4f349e15e450652b53d1a
Signed-off-by: Woosung Lee <wstar.lee@samsung.com>
include/linux/pm_qos.h
kernel/power/qos.c