misc: tegra-profiler: enable multiprocess support
authorArul Sekar <aruls@nvidia.com>
Tue, 10 May 2016 18:21:24 +0000 (11:21 -0700)
committermobile promotions <svcmobile_promotions@nvidia.com>
Tue, 26 Jul 2016 23:59:57 +0000 (16:59 -0700)
commitb11fbeb28690c40cc723e5dfecfff6003b6cea18
treeca1935d5e769ed760059e7ae52d90de3d7ccd905
parent76b01084a1836209da99091a9d6dc8dddbde8e69
misc: tegra-profiler: enable multiprocess support

- support multi process profiling requests from user
- uses trace_all_tasks parameter
- skip kernel swapper (pid == 0) tasks

Bug 1764640

Change-Id: I1f0e2d4432d095b1e6e4db0781be9ce355bf23ed
Signed-off-by: Arul Sekar <aruls@nvidia.com>
(cherry picked from commit f0799d139c2d32ce44efd4b544fca20fed7c08af)
Reviewed-on: http://git-master/r/1161158
Tested-by: Anatoly Nikiforov <anikiforov@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit
(cherry picked from commit 6ff5f51d2604b5a443f898b2f7c1a2cac34edc10)
Reviewed-on: http://git-master/r/1175198
drivers/misc/tegra-profiler/hrt.c
drivers/misc/tegra-profiler/version.h
include/linux/tegra_profiler.h