summaryrefslogtreecommitdiff
path: root/drivers/uio
diff options
context:
space:
mode:
authorTony Lin <tony.lin@freescale.com>2011-01-11 18:01:03 +0800
committerTony Lin <tony.lin@freescale.com>2011-01-18 11:20:44 +0800
commita98eb1a5b4b24cda8a3153c241e910f8ef611834 (patch)
treeab791aa1890137fe878eb8852554740bf73d7c27 /drivers/uio
parent5a1274b80bad3c126bb79bcd8e2df641cbc1cb41 (diff)
ENGR00137979-3 add performance monitor driver
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>
Diffstat (limited to 'drivers/uio')
0 files changed, 0 insertions, 0 deletions