DESCRIPTION

Oprofile: Fix for NPE when applying the change between opcontrol/operf.

Change-Id: I299dfaca6892475802a84a77f5ba0a8b95a9509b


COMMENTS

author: Brenden Conley
date: 2013-08-21 22:30:58.000000000

Patch Set 1:

Build Started https://hudson.eclipse.org/sandbox/job/linuxtools/3249/

-------------------------------------
author: Brenden Conley
date: 2013-08-21 22:46:48.000000000

Patch Set 1: Verified+1

Build Successful 

https://hudson.eclipse.org/sandbox/job/linuxtools/3249/ : SUCCESS

-------------------------------------
author: Nathanael Holden
date: 2013-08-22 15:55:12.000000000

Patch Set 1: Code-Review-1

I seem to be able to reproduce the same NPE but for me it's happening in getOProfileTimerMode() when the kernel module isn't loaded.

Having Oprofile.getTimerMode() return false (and not attempt to look up non-existent data) when operf is selected fixes the issue for me.

-------------------------------------
