summaryrefslogtreecommitdiff
path: root/drivers/misc/mxs-perfmon.c
AgeCommit message (Collapse)Author
2012-07-20ENGR00174018 MX6Q/perfmon : fix the compiling errorHuang Shijie
reduce one parameter to fix the built error. Signed-off-by: Huang Shijie <b32955@freescale.com>
2012-07-20ENGR00161951-1 [mx6q]performance monitor driverTony Lin
add plt_init & plt_exit functions to structure, so that the driver would have chance to do platform specific init and exit Signed-off-by: Tony Lin <tony.lin@freescale.com>
2012-07-20ENGR00137979-1 add performance monitor driverTony Lin
add performance monitor driver. sample: cd /sys/devices/platform/mxs-perfmon.0/ 'echo 1 > MIDn-xxx' to enable monitor this channel n: channel number; xxx: name of channel (PXP, LCD...) you can enable the multiple channels you want to monitor respectively using this command. use following command to check the channel is enabled 'cat MIDn-xxx' 1: enable; 0: disable 'echo read > Monitor' to monitor all read activities 'echo start > Monitor' to start monitoring 'echo fetch > Monitor' to get a snapshot of monitor statistics. 'cat xxx_Count' to show the statistics. xxx: name of statistics, (Data, Transfer, Latency...) 'echo clear > Monitor' to clear snapshot of monitor statistics. 'echo stop > Monitor' to stop monitoring Signed-off-by: Tony Lin <tony.lin@freescale.com>