summaryrefslogtreecommitdiffstats
path: root/drivers/remoteproc
diff options
context:
space:
mode:
authorHiroshi Doyu <hdoyu@nvidia.com>2012-08-02 10:46:40 +0200
committerJoerg Roedel <joerg.roedel@amd.com>2012-08-03 17:53:55 +0200
commit39abf8aa7dfad0badb4741373023cda369aacc8e (patch)
treeb1e845941ab5a29f4907922a6406d2db13bc38e5 /drivers/remoteproc
parentLinux 3.6-rc1 (diff)
downloadlinux-39abf8aa7dfad0badb4741373023cda369aacc8e.tar.xz
linux-39abf8aa7dfad0badb4741373023cda369aacc8e.zip
iommu/tegra: smmu: debugfs for TLB/PTC statistics
Add debugfs entries to collect TLB/PTC statistics. $ echo "reset" > /sys/kernel/debug/smmu/mc/{tlb,ptc} $ echo "on" > /sys/kernel/debug/smmu/mc/{tlb,ptc} $ echo "off" > /sys/kernel/debug/smmu/mc/{tlb,ptc} $ cat /sys/kernel/debug/smmu/mc/{tlb,ptc} hit:0014910c miss:00014d22 The above format is: hit:<HIT count><SPC>miss:<MISS count><SPC><CR+LF> fscanf(fp, "hit:%lx miss:%lx", &hit, &miss); Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'drivers/remoteproc')
0 files changed, 0 insertions, 0 deletions