iotrace.h (83d290c56fab2d38cd1ab4c4cc7099559c1d5046) | iotrace.h (a74440b27b3f12d2cce54d7910953af19f1ac051) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0+ */ 2/* 3 * Copyright (c) 2014 Google, Inc. 4 */ 5 6#ifndef __IOTRACE_H 7#define __IOTRACE_H 8 --- 45 unchanged lines hidden (view full) --- 54/** 55 * iotrace_get_checksum() - Get the current checksum value 56 * 57 * @return currect checksum value 58 */ 59u32 iotrace_get_checksum(void); 60 61/** | 1/* SPDX-License-Identifier: GPL-2.0+ */ 2/* 3 * Copyright (c) 2014 Google, Inc. 4 */ 5 6#ifndef __IOTRACE_H 7#define __IOTRACE_H 8 --- 45 unchanged lines hidden (view full) --- 54/** 55 * iotrace_get_checksum() - Get the current checksum value 56 * 57 * @return currect checksum value 58 */ 59u32 iotrace_get_checksum(void); 60 61/** |
62 * iotrace_set_region() - Set whether iotrace is limited to a specific 63 * io region. 64 * 65 * Defines the address and size of the limited region. 66 * 67 * @start: address of the beginning of the region 68 * @size: size of the region in bytes. 69 */ 70void iotrace_set_region(ulong start, ulong size); 71 72/** 73 * iotrace_reset_region() - Reset the region limit 74 */ 75void iotrace_reset_region(void); 76 77/** 78 * iotrace_get_region() - Get region information 79 * 80 * @start: Returns start address of region 81 * @size: Returns size of region in bytes 82 */ 83void iotrace_get_region(ulong *start, ulong *size); 84 85/** |
|
62 * iotrace_set_enabled() - Set whether iotracing is enabled or not 63 * 64 * This controls whether the checksum is updated and a trace record added 65 * for each I/O access. 66 * 67 * @enable: true to enable iotracing, false to disable 68 */ 69void iotrace_set_enabled(int enable); --- 35 unchanged lines hidden --- | 86 * iotrace_set_enabled() - Set whether iotracing is enabled or not 87 * 88 * This controls whether the checksum is updated and a trace record added 89 * for each I/O access. 90 * 91 * @enable: true to enable iotracing, false to disable 92 */ 93void iotrace_set_enabled(int enable); --- 35 unchanged lines hidden --- |