[PORT FROM R2] atomisp: Provide a debug trace infra for CSS using ftrace
BZ: 17272
ftrace is the preferred way to dump debug traces in the kernel
because it is much more efficient than kernel printk. This patch
allows the use of ftrace to dump debug information from CSS. A new
API has also been added to CSS to set the verbosity level of the
traces.
Change-Id: I1edf61ca38d9931430dcaca3e1dc9e9d09585fd4
Orig-Change-Id: I8698a4c277052e95dc52c488e2d1d0f56e0080c8
Signed-off-by: Lokesh Gupta <lokesh.gupta@intel.com>
Reviewed-on: http://android.intel.com:8080/24621
Reviewed-by: Wang, Wen W <wen.w.wang@intel.com>
Reviewed-by: Koski, Anttu <anttu.koski@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: Toivonen, Tuukka <tuukka.toivonen@intel.com>
Reviewed-by: Kruger, Jozef <jozef.kruger@intel.com>
Reviewed-by: Cohen, David A <david.a.cohen@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Reviewed-on: http://android.intel.com:8080/28014
Reviewed-by: Tuominen, TeemuX <teemux.tuominen@intel.com>