linux/drivers/platform/chrome/cros_ec_trace.c

// SPDX-License-Identifier: GPL-2.0
// Trace events for the ChromeOS Embedded Controller
//
// Copyright 2019 Google LLC.

#define TRACE_SYMBOL(a)

// Generate the list using the following script:
// sed -n 's/^#define \(EC_CMD_[[:alnum:]_]*\)\s.*/\tTRACE_SYMBOL(\1), \\/p' include/linux/platform_data/cros_ec_commands.h
#define EC_CMDS

/* See the enum ec_status in include/linux/platform_data/cros_ec_commands.h */
#define EC_RESULT

#define CREATE_TRACE_POINTS
#include "cros_ec_trace.h"