From 352090a2aa69b708e924fc912d3442973963e273 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 25 Feb 2016 22:36:27 -0500 Subject: eshprof: Fix case pattern --- (limited to 'eshprof') diff --git a/eshprof/flat-profile.esh b/eshprof/flat-profile.esh index 01201cc..ca00c5d 100644 --- a/eshprof/flat-profile.esh +++ b/eshprof/flat-profile.esh @@ -96,7 +96,7 @@ record() shift 2 case " ${fns} " in - "${name}") + *" ${name} "*) eval "fn_timing_${name}=\$((\${fn_timing_${name}} + \ \${time}))" eval "fn_calls_${name}=\$((\${fn_calls_${name}} + 1))" -- cgit v0.9.1