X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Fregmap.h;fp=instrumentation%2Fevents%2Flttng-module%2Fregmap.h;h=0000000000000000000000000000000000000000;hb=7c6d929d62a6e24fb1dbeaee5cd2c8afe77720b7;hp=8af4d5aed533c376f0d420a156beb0101c28a2f6;hpb=cf77d12083b5092eca8c6f9899ec0892756845aa;p=lttng-modules.git diff --git a/instrumentation/events/lttng-module/regmap.h b/instrumentation/events/lttng-module/regmap.h deleted file mode 100644 index 8af4d5ae..00000000 --- a/instrumentation/events/lttng-module/regmap.h +++ /dev/null @@ -1,145 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#undef TRACE_SYSTEM -#define TRACE_SYSTEM regmap - -#if !defined(LTTNG_TRACE_REGMAP_H) || defined(TRACE_HEADER_MULTI_READ) -#define LTTNG_TRACE_REGMAP_H - -#include -#include -#include - -#ifndef _TRACE_REGMAP_DEF_ -#define _TRACE_REGMAP_DEF_ -struct device; -struct regmap; -#endif - -/* - * Log register events - */ -LTTNG_TRACEPOINT_EVENT_CLASS(regmap_reg, - - TP_PROTO(struct regmap *map, unsigned int reg, - unsigned int val), - - TP_ARGS(map, reg, val), - - TP_FIELDS( - ctf_string(name, regmap_name(map)) - ctf_integer(unsigned int, reg, reg) - ctf_integer(unsigned int, val, val) - ) -) -LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_reg, regmap_reg_write, - - TP_PROTO(struct regmap *map, unsigned int reg, - unsigned int val), - - TP_ARGS(map, reg, val) -) - -LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_reg, regmap_reg_read, - - TP_PROTO(struct regmap *map, unsigned int reg, - unsigned int val), - - TP_ARGS(map, reg, val) -) - -LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_reg, regmap_reg_read_cache, - - TP_PROTO(struct regmap *map, unsigned int reg, - unsigned int val), - - TP_ARGS(map, reg, val) -) - -LTTNG_TRACEPOINT_EVENT_CLASS(regmap_block, - - TP_PROTO(struct regmap *map, unsigned int reg, int count), - - TP_ARGS(map, reg, count), - - TP_FIELDS( - ctf_string(name, regmap_name(map)) - ctf_integer(unsigned int, reg, reg) - ctf_integer(int, count, count) - ) -) - -LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_block, regmap_hw_read_start, - - TP_PROTO(struct regmap *map, unsigned int reg, int count), - - TP_ARGS(map, reg, count) -) - -LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_block, regmap_hw_read_done, - - TP_PROTO(struct regmap *map, unsigned int reg, int count), - - TP_ARGS(map, reg, count) -) - -LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_block, regmap_hw_write_start, - - TP_PROTO(struct regmap *map, unsigned int reg, int count), - - TP_ARGS(map, reg, count) -) - -LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_block, regmap_hw_write_done, - - TP_PROTO(struct regmap *map, unsigned int reg, int count), - - TP_ARGS(map, reg, count) -) - -LTTNG_TRACEPOINT_EVENT_MAP(regcache_sync, - - regmap_regcache_sync, - - TP_PROTO(struct regmap *map, const char *type, - const char *status), - - TP_ARGS(map, type, status), - - TP_FIELDS( - ctf_string(name, regmap_name(map)) - ctf_string(status, status) - ctf_string(type, type) - ) -) - -LTTNG_TRACEPOINT_EVENT_CLASS(regmap_bool, - - TP_PROTO(struct regmap *map, bool flag), - - TP_ARGS(map, flag), - - TP_FIELDS( - ctf_string(name, regmap_name(map)) - ctf_integer(int, flag, flag) - ) -) - -LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_bool, regmap_cache_only, - - TP_PROTO(struct regmap *map, bool flag), - - TP_ARGS(map, flag) -) - -LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_bool, regmap_cache_bypass, - - TP_PROTO(struct regmap *map, bool flag), - - TP_ARGS(map, flag) - -) - -#endif /* LTTNG_TRACE_REGMAP_H */ - -/* This part must be outside protection */ -#include