summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inotail.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/inotail.h b/inotail.h
index 882d78d..2fd2cc4 100644
--- a/inotail.h
+++ b/inotail.h
@@ -9,11 +9,13 @@ enum { M_LINES, M_BYTES };
/* Every tailed file is represented as a file_struct */
struct file_struct {
- char *name; /* Name of file (or '-' for stdin) */
- int fd; /* File descriptor (or -1 if file is not open */
- off_t st_size; /* File size */
+ char *name; /* Name of file (or '-' for stdin) */
+ int fd; /* File descriptor (or -1 if file is not open */
+ off_t st_size; /* File size */
- int i_watch; /* Inotify watch associated with file_struct */
+ unsigned ignore; /* Wheter to ignore the file in further processing */
+
+ int i_watch; /* Inotify watch associated with file_struct */
};
#ifdef DEBUG
i registers
AMD's BKDG (Bios and Kernel Developers Guide) talks in the CPU spec of their CPU families about PCI registers defined by "device" (slot) and func(tion). Assuming that CPU specific configuration PCI devices are always on domain and bus zero a pci_slot_func_init() func which gets the slot and func of the desired PCI device passed looks like the most convenient way. This also obsoletes the PCI device id maintenance. Signed-off-by: Thomas Renninger <trenn@suse.de> CC: Andreas Herrmann <herrmann.der.user@googlemail.com> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'tools/power/cpupower/man')