summaryrefslogtreecommitdiffstats
path: root/eshprof
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-02-25 22:36:27 (EST)
committer P. J. McDermott <pj@pehjota.net>2016-02-26 01:39:37 (EST)
commit352090a2aa69b708e924fc912d3442973963e273 (patch)
tree77ea4fcbc4c46715a50d839ede808b83392e7b0b /eshprof
parentad8762098ba8f0dcce54b7bb9b5eb22e7b36c292 (diff)
downloadeggshell-352090a2aa69b708e924fc912d3442973963e273.zip
eggshell-352090a2aa69b708e924fc912d3442973963e273.tar.gz
eggshell-352090a2aa69b708e924fc912d3442973963e273.tar.bz2
eshprof: Fix case pattern
Diffstat (limited to 'eshprof')
-rw-r--r--eshprof/flat-profile.esh2
1 files changed, 1 insertions, 1 deletions
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))"