summaryrefslogtreecommitdiffstats
path: root/runtime/map-stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/map-stat.c')
-rw-r--r--runtime/map-stat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/map-stat.c b/runtime/map-stat.c
index 51377d00..c9ba4b02 100644
--- a/runtime/map-stat.c
+++ b/runtime/map-stat.c
@@ -79,7 +79,7 @@ static MAP _stp_pmap_new_hstat_linear (unsigned max_entries, int ksize, int star
int i;
MAP m;
for_each_cpu(i) {
- m = per_cpu_ptr (map, i);
+ m = _stp_per_cpu_ptr (map, i);
m->hist.type = HIST_LINEAR;
m->hist.start = start;
m->hist.stop = stop;
@@ -106,7 +106,7 @@ static MAP _stp_pmap_new_hstat_log (unsigned max_entries, int key_size, int buck
int i;
MAP m;
for_each_cpu(i) {
- m = per_cpu_ptr (map, i);
+ m = _stp_per_cpu_ptr (map, i);
m->hist.type = HIST_LOG;
m->hist.buckets = buckets;
}