File tree 1 file changed +7
-0
lines changed 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -403,6 +403,8 @@ void refresh_fsmonitor(struct index_state *istate)
403
403
* information and that we should consider everything
404
404
* invalid. We call this a trivial response.
405
405
*/
406
+ trace2_region_enter ("fsmonitor" , "apply_results" , istate -> repo );
407
+
406
408
if (query_success && query_result .buf [bol ] != '/' ) {
407
409
/*
408
410
* Mark all pathnames returned by the monitor as dirty.
@@ -431,6 +433,9 @@ void refresh_fsmonitor(struct index_state *istate)
431
433
if (count > fsmonitor_force_update_threshold )
432
434
istate -> cache_changed |= FSMONITOR_CHANGED ;
433
435
436
+ trace2_data_intmax ("fsmonitor" , istate -> repo , "apply_count" ,
437
+ count );
438
+
434
439
} else {
435
440
/*
436
441
* We received a trivial response, so invalidate everything.
@@ -458,6 +463,8 @@ void refresh_fsmonitor(struct index_state *istate)
458
463
if (istate -> untracked )
459
464
istate -> untracked -> use_fsmonitor = 0 ;
460
465
}
466
+ trace2_region_leave ("fsmonitor" , "apply_results" , istate -> repo );
467
+
461
468
strbuf_release (& query_result );
462
469
463
470
/* Now that we've updated istate, save the last_update_token */
You can’t perform that action at this time.
0 commit comments