misc: tegra-profiler: fix getting capabilities
Alexey Kravets [Mon, 9 Nov 2015 10:32:08 +0000 (13:32 +0300)]
Bug 1416640

Change-Id: I96bef5e1f7326a8ba3e3e63a2d764f937b252da5
Signed-off-by: Alexey Kravets <akravets@nvidia.com>
Reviewed-on: http://git-master/r/830693
(cherry picked from commit 3576da34ba83153968df2121627d939562f81cec)
Reviewed-on: http://git-master/r/1249570
(cherry picked from commit 7e0b6b87c5410e0e5b65fda68678fb835a5ba405)

drivers/misc/tegra-profiler/main.c

index ddaf30c..b3572a6 100644 (file)
@@ -368,7 +368,6 @@ get_capabilities_for_cpu(int cpuid, struct quadd_comm_cap_for_cpu *cap)
                    event == QUADD_EVENT_TYPE_L2_ICACHE_MISSES) {
                        cap->l2_cache = 1;
                        cap->l2_multiple_events = 1;
-                       break;
                }