nvhost: Add tracing to nvhost driver.
authorTerje Bergstrom <tbergstrom@nvidia.com>
Thu, 28 Apr 2011 13:32:33 +0000 (16:32 +0300)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:45:02 +0000 (21:45 -0800)
commit1a2b0dfaf6c1dc6d978e465f5a089fa732b19973
treef124b678cf2eff0fc9aebba19a8296db56f83fe0
parent7e048e8d4a82d01a81bd026fb3801d43730fa82c
nvhost: Add tracing to nvhost driver.

Creates /d/tracing/events/nvhost. Logs channel opens, closes,
writes and flushes. For writes, logs number, size and address
of cmdbufs and number of relocs.

Original-Change-Id: I5bdadcb40c31e3f057eb8c4579b95e235d860e39
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/29770
Reviewed-by: Andrew Howe <ahowe@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>

Rebase-Id: Rbe763a4da9f5c431170301f91fa1bc4cb4ed8f0e
arch/arm/mach-tegra/include/trace/events/nvhost.h [new file with mode: 0644]
drivers/video/tegra/host/dev.c
drivers/video/tegra/host/nvhost_channel.c