mon_stat.c (97eb3f24352ec6632c2127b35d8087d2a809a9b9) | mon_stat.c (f940fcd8eadfe5b909a1474b57de7755edeee62b) |
---|---|
1/* 2 * The USB Monitor, inspired by Dave Harding's USBMon. 3 * 4 * This is the 's' or 'stat' reader which debugs usbmon itself. 5 * Note that this code blows through locks, so make sure that 6 * /dbg/usbmon/0s is well protected from non-root users. 7 * 8 */ 9 10#include <linux/kernel.h> 11#include <linux/slab.h> | 1/* 2 * The USB Monitor, inspired by Dave Harding's USBMon. 3 * 4 * This is the 's' or 'stat' reader which debugs usbmon itself. 5 * Note that this code blows through locks, so make sure that 6 * /dbg/usbmon/0s is well protected from non-root users. 7 * 8 */ 9 10#include <linux/kernel.h> 11#include <linux/slab.h> |
12#include <linux/export.h> |
|
12#include <linux/usb.h> 13#include <linux/fs.h> 14#include <asm/uaccess.h> 15 16#include "usb_mon.h" 17 18#define STAT_BUF_SIZE 80 19 --- 49 unchanged lines hidden --- | 13#include <linux/usb.h> 14#include <linux/fs.h> 15#include <asm/uaccess.h> 16 17#include "usb_mon.h" 18 19#define STAT_BUF_SIZE 80 20 --- 49 unchanged lines hidden --- |