misc: tegra-profiler: add timestamps to mmap event
authorIgor Nabirushkin <inabirushkin@nvidia.com>
Mon, 10 Oct 2016 13:17:40 +0000 (16:17 +0300)
committerIgor Nabirushkin <inabirushkin@nvidia.com>
Tue, 8 Aug 2017 14:19:52 +0000 (17:19 +0300)
commit1fe7edd262602db361f01cef9efaa1bf691ba751
tree6ae691271ca0e6aef8eb5729c951a96abd766be1
parentf2f54da878e9cff7684f2cccbf65b4fa85c6d7d2
misc: tegra-profiler: add timestamps to mmap event

- Add timestamps to mmap events.
- Add size of sample data (useful for user space).

Bug 1825161

Change-Id: I13d63f938d891eac1e697fab1d6118a57a5faa4b
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/1236250
(cherry picked from commit d0a5f9f394af8462bca1690abf7ee2cd8d8a5ca3)
Reviewed-on: http://git-master/r/1251886
(cherry picked from commit 32858420961ae8c615638050f1be320f5833c21c)
drivers/misc/tegra-profiler/comm.c
drivers/misc/tegra-profiler/mmap.c
drivers/misc/tegra-profiler/version.h
include/linux/tegra_profiler.h