summaryrefslogtreecommitdiffstats
path: root/runtime/stat.c
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-01-17 21:52:42 -0500
committerFrank Ch. Eigler <fche@elastic.org>2008-01-17 21:52:42 -0500
commit7ee3e80ec0b7880c33d0ca3018025855d9dd5123 (patch)
treec39e234447fed3ca04c6467784fae5ddc85ce7d6 /runtime/stat.c
parent2b7f11a05877405a3dd232ac297e11f9d8253c2d (diff)
parentaf3047833424103c4e17728e849670da865d37c3 (diff)
downloadsystemtap-steved-7ee3e80ec0b7880c33d0ca3018025855d9dd5123.tar.gz
systemtap-steved-7ee3e80ec0b7880c33d0ca3018025855d9dd5123.tar.xz
systemtap-steved-7ee3e80ec0b7880c33d0ca3018025855d9dd5123.zip
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'runtime/stat.c')
-rw-r--r--runtime/stat.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/runtime/stat.c b/runtime/stat.c
index 3df1d063..298a6653 100644
--- a/runtime/stat.c
+++ b/runtime/stat.c
@@ -52,7 +52,7 @@
/** Stat struct for stat.c. Maps do not need this */
struct _Stat {
struct _Hist hist;
- /* per-cpu data. allocated with alloc_percpu() */
+ /* per-cpu data. allocated with _stp_alloc_percpu() */
stat *sd;
/* aggregated data */
stat *agg;
@@ -130,9 +130,9 @@ Stat _stp_stat_init (int type, ...)
return st;
exit2:
- kfree (sd);
+ _stp_kfree (sd);
exit1:
- kfree (st);
+ _stp_kfree (st);
return NULL;
}
@@ -144,9 +144,9 @@ exit1:
void _stp_stat_del (Stat st)
{
if (st) {
- free_percpu (st->sd);
- kfree (st->agg);
- kfree (st);
+ _stp_free_percpu (st->sd);
+ _stp_kfree (st->agg);
+ _stp_kfree (st);
}
}