This is the mail archive of the
systemtap-cvs@sourceware.org
mailing list for the systemtap project.
src/runtime ChangeLog map-gen.c map-stat.c map ...
- From: hunt at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 12 Sep 2007 18:37:47 -0000
- Subject: src/runtime ChangeLog map-gen.c map-stat.c map ...
CVSROOT: /cvs/systemtap
Module name: src
Changes by: hunt@sourceware.org 2007-09-12 18:37:47
Modified files:
runtime : ChangeLog map-gen.c map-stat.c map.h pmap-gen.c
stat-common.c stat.c stat.h
Log message:
2007-09-12 Martin Hunt <hunt@redhat.com>
* map-stat.c (_stp_map_new_hstat_log): Set buckets to
HIST_LOG_BUCKETS.
(_stp_pmap_new_hstat_log): Ditto.
(_stp_map_new_hstat_linear): Call _stp_stat_calc_buckets().
(_stp_pmap_new_hstat_linear): Ditto.
* stat.h (STP_MAX_BUCKETS): Define..
(HIST_LOG_BUCKETS): Define.
* stat.c (_stp_stat_init): Call _stp_stat_calc_buckets().
* stat-common.c (_stp_stat_calc_buckets): New function. Common
bucket calculation and error reporting code.
(_stp_bucket_to_val): New function.
(_stp_val_to_bucket): Renamed and now handles negative numbers.
(_stp_stat_print_histogram): Handle negative values in log histograms.
(__stp_stat_add): Cleanup..
* map-gen.c (_stp_map_new): Remove buckets param for HIST_LOG.
* pmap-gen.c (_stp_pmap_new): Ditto.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/ChangeLog.diff?cvsroot=systemtap&r1=1.220&r2=1.221
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/map-gen.c.diff?cvsroot=systemtap&r1=1.10&r2=1.11
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/map-stat.c.diff?cvsroot=systemtap&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/map.h.diff?cvsroot=systemtap&r1=1.21&r2=1.22
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/pmap-gen.c.diff?cvsroot=systemtap&r1=1.11&r2=1.12
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/stat-common.c.diff?cvsroot=systemtap&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/stat.c.diff?cvsroot=systemtap&r1=1.10&r2=1.11
http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/stat.h.diff?cvsroot=systemtap&r1=1.3&r2=1.4