diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2008-01-17 21:52:42 -0500 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-01-17 21:52:42 -0500 |
commit | 7ee3e80ec0b7880c33d0ca3018025855d9dd5123 (patch) | |
tree | c39e234447fed3ca04c6467784fae5ddc85ce7d6 /runtime/stat.c | |
parent | 2b7f11a05877405a3dd232ac297e11f9d8253c2d (diff) | |
parent | af3047833424103c4e17728e849670da865d37c3 (diff) | |
download | systemtap-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.c | 12 |
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); } } |