summaryrefslogtreecommitdiff
path: root/drivers/platform/chrome/cros_ec_debugfs.c
diff options
context:
space:
mode:
authorGwendal Grignou <gwendal@chromium.org>2022-01-21 16:13:01 -0800
committerBenson Leung <bleung@chromium.org>2022-03-31 16:56:29 -0700
commiteabd9a3807e17e211690e6c40f1405b427b64c48 (patch)
tree1c4760442aaecfb179eb42abf1672e62a4dc86e5 /drivers/platform/chrome/cros_ec_debugfs.c
parentb579f139e47037cf98808ccf7511a6deb02f3b18 (diff)
platform: chrome: Split trace include file
cros_ec_trace.h defined 5 tracing events, 2 for cros_ec_proto and 3 for cros_ec_sensorhub_ring. These 2 files are in different kernel modules, the traces are defined twice in the kernel which leads to problem enabling only some traces. Move sensorhub traces from cros_ec_trace.h to cros_ec_sensorhub_trace.h and enable them only in cros_ec_sensorhub kernel module. Check we can now enable any single traces: without this patch, we can only enable all sensorhub traces or none. Fixes: d453ceb6549a ("platform/chrome: sensorhub: Add trace events for sample") Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20220122001301.640337-1-gwendal@chromium.org Signed-off-by: Benson Leung <bleung@chromium.org>
Diffstat (limited to 'drivers/platform/chrome/cros_ec_debugfs.c')
0 files changed, 0 insertions, 0 deletions