misc: tegra-profiler: allocate memory on demand
authorIgor Nabirushkin <inabirushkin@nvidia.com>
Wed, 31 Jul 2013 11:17:47 +0000 (15:17 +0400)
committerMrutyunjay Sawant <msawant@nvidia.com>
Tue, 3 Sep 2013 07:25:03 +0000 (00:25 -0700)
commit839d33cd078d127c9ad8048dc4917fca23d6865e
tree65155f3b43d1a05776ee7a65413e42db3cd7922f
parente1f0ddb9f2a50a7697864f180fbab745add08682
misc: tegra-profiler: allocate memory on demand

Tegra Profiler misc driver:
allocate memory on demand from the user space, not on boot.

Bug 1312406

Change-Id: Idc5e8365e38b7faca236e011d9e665f53ac992e6
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/256309
(cherry picked from commit 65234ad36d4c8eeef7753643d6cb2cf0c7f77976)
Reviewed-on: http://git-master/r/264754
GVS: Gerrit_Virtual_Submit
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan <byan@nvidia.com>
drivers/misc/tegra-profiler/comm.c
drivers/misc/tegra-profiler/comm.h
drivers/misc/tegra-profiler/version.h
include/linux/tegra_profiler.h