Skip to content

Commit

Permalink
disable debug logs from uio
Browse files Browse the repository at this point in the history
  • Loading branch information
erichchan999 committed Feb 9, 2024
1 parent 692c09d commit 31bf721
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/linux/uio_drivers/blk.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <uio_drivers/blk.h>

/* Uncomment this to enable debug logging */
#define DEBUG_UIO_BLOCK
// #define DEBUG_UIO_BLOCK

#if defined(DEBUG_UIO_BLOCK)
#define LOG_UIO_BLOCK(...) do{ printf("BLK_DRIVER_%d", driver_id); printf(": "); printf(__VA_ARGS__); }while(0)
Expand Down
2 changes: 1 addition & 1 deletion tools/linux/uio_drivers/libuio.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include <uio_drivers/blk.h>

/* Uncomment this to enable debug logging */
#define DEBUG_UIO
// #define DEBUG_UIO

#if defined(DEBUG_UIO)
#define LOG_UIO(...) do{ printf("UIO_DRIVER_%d", uio_num); printf(": "); printf(__VA_ARGS__); }while(0)
Expand Down

0 comments on commit 31bf721

Please sign in to comment.