misc: tegra-profiler: allocate memory on demand
authorIgor Nabirushkin <inabirushkin@nvidia.com>
Wed, 31 Jul 2013 11:17:47 +0000 (15:17 +0400)
committerSimone Willett <swillett@nvidia.com>
Tue, 13 Aug 2013 01:40:07 +0000 (18:40 -0700)
commit65234ad36d4c8eeef7753643d6cb2cf0c7f77976
treec00a6fb3ba9b0644be8068f559ea840226e6e44e
parent377760a49243382f6397b17ea799fc9cd2dbc79b
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
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Andrey Trachenko <atrachenko@nvidia.com>
Tested-by: Andrey Trachenko <atrachenko@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