aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/profiling
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2015-04-29 14:26:08 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2015-04-29 14:26:08 -0700
commitb220c1d21342fb995881c39efb6b4b8c55e89e6b (patch)
tree5900109cadf63d6ce329f3da48332097666b4efc /test/core/profiling
parentbbc0b775e137e6865c9213086c61b84e7415a9ec (diff)
Added missing globals declaration to STAP script.
Diffstat (limited to 'test/core/profiling')
-rw-r--r--test/core/profiling/mark_timings.stp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/core/profiling/mark_timings.stp b/test/core/profiling/mark_timings.stp
index 45d5e0d217..0c0a417faf 100644
--- a/test/core/profiling/mark_timings.stp
+++ b/test/core/profiling/mark_timings.stp
@@ -5,6 +5,8 @@
* For dinamically built ones, point to the location of the libgprc.so being
* used. */
+global starts, times, times_per_tag
+
probe process(@1).mark("timing_ns_begin") {
starts[$arg1, tid()] = gettimeofday_ns();
}