]> git.ipfire.org Git - thirdparty/git.git/commit - fsmonitor.c
fsmonitor: log invocation of FSMonitor hook to trace2
authorJeff Hostetler <jeffhost@microsoft.com>
Wed, 3 Feb 2021 15:34:47 +0000 (15:34 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 17 Feb 2021 01:14:34 +0000 (17:14 -0800)
commit940b94f35cf1858adf23fe939bcbbe73147ca1f3
tree88ce2e0ee163c46f077f05c3392e1e23ad7303a7
parent15268d12bef12a40753767882088f4fcfefb3b2b
fsmonitor: log invocation of FSMonitor hook to trace2

Let's measure the time taken to request and receive FSMonitor data
via the hook API and the size of the response.

Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Reviewed-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
fsmonitor.c
fsmonitor.h