intel_th: Add global activate/deactivate callbacks for the glue layers
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>
Fri, 25 Aug 2017 12:47:22 +0000 (15:47 +0300)
committerAlexander Shishkin <alexander.shishkin@linux.intel.com>
Fri, 25 Aug 2017 15:48:00 +0000 (18:48 +0300)
commit29e15e83a99cdc13d0d38de558fbea641f8fdda8
tree8c52cbd116aa1e55bc2080a46542b43f0d382429
parent3321371b5d648479058fa6f9441168abbc1467c9
intel_th: Add global activate/deactivate callbacks for the glue layers

A glue layer may want to install its own hooks into trace capture start
and stop paths to apply workarounds. This adds optional callbacks.

Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
drivers/hwtracing/intel_th/core.c
drivers/hwtracing/intel_th/intel_th.h