From 79c5790bbf66352367bcf7732b691ca0ec7bcfb2 Mon Sep 17 00:00:00 2001 From: Vern Paxson Date: Fri, 6 Dec 2024 16:18:43 -0800 Subject: [PATCH] when reporting available/unavailble C++ script bodies, flag those that are skipped --- src/script_opt/ScriptOpt.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/script_opt/ScriptOpt.cc b/src/script_opt/ScriptOpt.cc index ce697ef890..36f041fe62 100644 --- a/src/script_opt/ScriptOpt.cc +++ b/src/script_opt/ScriptOpt.cc @@ -366,6 +366,12 @@ static void report_CPP() { for ( auto& f : funcs ) { const auto& name = f.Func()->GetName(); + + if ( f.ShouldSkip() ) { + printf("script function %s: SKIP\n", name.c_str()); + continue; + } + auto hash = f.Profile()->HashVal(); bool have = compiled_scripts.count(hash) > 0;