From 469a124c71bcc3e47ee6362796bd9a506a98f235 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 12 Feb 2020 19:10:03 +0100 Subject: debug stuff --- stream/stream_file.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'stream') diff --git a/stream/stream_file.c b/stream/stream_file.c index a79ef0e913..04e74c6b00 100644 --- a/stream/stream_file.c +++ b/stream/stream_file.c @@ -98,7 +98,9 @@ static int fill_buffer(stream_t *s, void *buffer, int max_len) #endif for (int retries = 0; retries < MAX_RETRIES; retries++) { + MP_STATS(s, "start read"); int r = read(p->fd, buffer, max_len); + MP_STATS(s, "end read"); if (r > 0) return r; -- cgit v1.2.3