misc: tegra-profiler: fix lost samples
authorIgor Nabirushkin <inabirushkin@nvidia.com>
Mon, 10 Jul 2017 19:54:12 +0000 (23:54 +0400)
committerIgor Nabirushkin <inabirushkin@nvidia.com>
Tue, 8 Aug 2017 14:23:17 +0000 (17:23 +0300)
commita1c5f1f89c587d939ca740513dcbf08f3f286447
tree6fbd95ac4b116ec41a21beecc75cee34ecb6a19b
parenta293bf77a0117c79b85005e05f7edcee9d0b43c7
misc: tegra-profiler: fix lost samples

Do not send 'header' samples for non-present cores.
This fixes lost samples in some cases.

Bug 1956713

Change-Id: Ib09aecbb71265b96840e18dcb40315adf286994f
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1516355
(cherry picked from commit 333e27f016348a41473292189be72ad05512c528)
drivers/misc/tegra-profiler/hrt.c