misc: tegra-profiler: allocate memory on demand
authorIgor Nabirushkin <inabirushkin@nvidia.com>
Wed, 31 Jul 2013 11:17:47 +0000 (15:17 +0400)
committerDan Willemsen <dwillemsen@nvidia.com>
Tue, 17 Sep 2013 00:40:13 +0000 (17:40 -0700)
commit08728775b30545682a2886ba3a3b1fdc24e95c22
tree4e7304d8bdbd5b6750d1942a8d01072925027621
parent29176b365c414322b642a2afdf6801978ef9eea5
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/268513
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
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