From 5bdc70f39ffc8d3287fea70bbf2b7c95fbad01e4 Mon Sep 17 00:00:00 2001 From: Markus Kusano Date: Mon, 10 Jun 2024 14:04:02 -0700 Subject: [PATCH] No public description PiperOrigin-RevId: 642015810 --- centipede/centipede.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/centipede/centipede.cc b/centipede/centipede.cc index 812cc6ed..9de2319a 100644 --- a/centipede/centipede.cc +++ b/centipede/centipede.cc @@ -147,6 +147,7 @@ void Centipede::CorpusFromFiles(const Environment &env, std::string_view dir) { std::vector paths; size_t total_paths = 0; for (const std::string &path : RemoteListFiles(dir, /*recursively=*/true)) { + LOG(INFO) << "Reading file: " << path; size_t filename_hash = std::hash{}(path); sharded_paths[filename_hash % env.total_shards].push_back(path); ++total_paths; @@ -178,6 +179,7 @@ void Centipede::CorpusFromFiles(const Environment &env, std::string_view dir) { std::string input; RemoteFileGetContents(path, input); if (input.empty() || existing_hashes.contains(Hash(input))) { + LOG(INFO) << "Ignoring input: " << input << " from path " << path; ++inputs_ignored; continue; }