kernel-fxtec-pro1x/drivers/devfreq/devfreq_trace.h
Urvashi Agrawal 0389e5ba59 msm: kgsl: Add GPU bus governor from 4.14 to 4.19
Adding a snapshot of the devfreq files on 4.14 as of
commit 9ac69cf (clk: qcom: gcc: Support code for clock
controller for sdxprairie).

Change-Id: Ib9491280c14f0ec0ff1c3b34aba5ce1e4f510b54
Signed-off-by: Urvashi Agrawal <urvaagra@codeaurora.org>
2019-01-22 12:53:54 -08:00

36 lines
727 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2014-2019, The Linux Foundation. All rights reserved.
*/
#if !defined(_DEVFREQ_TRACE_H) || defined(TRACE_HEADER_MULTI_READ)
#define _DEVFREQ_TRACE_H
#undef TRACE_SYSTEM
#define TRACE_SYSTEM devfreq
#undef TRACE_INCLUDE_PATH
#define TRACE_INCLUDE_PATH .
#undef TRACE_INCLUDE_FILE
#define TRACE_INCLUDE_FILE devfreq_trace
#include <linux/tracepoint.h>
TRACE_EVENT(devfreq_msg,
TP_PROTO(const char *msg),
TP_ARGS(msg),
TP_STRUCT__entry(
__string(msg, msg)
),
TP_fast_assign(
__assign_str(msg, msg);
),
TP_printk(
"%s", __get_str(msg)
)
);
#endif /* _DEVFREQ_TRACE_H */
/* This part must be outside protection */
#include <trace/define_trace.h>