You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
kernel_samsung_sm7125/include/trace/events/lmh.h

41 lines
1.1 KiB

/* Copyright (c) 2017 The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#undef TRACE_SYSTEM
#define TRACE_SYSTEM lmh
#if !defined(_TRACE_LMH_H) || defined(TRACE_HEADER_MULTI_READ)
#define _TRACE_LMH_H
#include <linux/tracepoint.h>
TRACE_EVENT(lmh_dcvs_freq,
TP_PROTO(unsigned long cpu, unsigned long freq),
TP_ARGS(cpu, freq),
TP_STRUCT__entry(
__field(unsigned long, cpu)
__field(unsigned long, freq)
),
TP_fast_assign(
__entry->cpu = cpu;
__entry->freq = freq;
),
TP_printk("cpu:%lu max frequency:%lu", __entry->cpu, __entry->freq)
);
#endif /* _TRACE_LMH_H */
/* This part must be outside protection */
#include <trace/define_trace.h>