summaryrefslogtreecommitdiffstats
path: root/session.h
diff options
context:
space:
mode:
authorhunt <hunt>2007-09-12 19:10:36 +0000
committerhunt <hunt>2007-09-12 19:10:36 +0000
commite38723d2391f4e274b46317187179a18bfb5135f (patch)
tree554ddf235caca4327e5c71c4e565e1248daff9ad /session.h
parent87ebf4cbc06b84d70548869290bf4dcc1964b5e0 (diff)
downloadsystemtap-steved-e38723d2391f4e274b46317187179a18bfb5135f.tar.gz
systemtap-steved-e38723d2391f4e274b46317187179a18bfb5135f.tar.xz
systemtap-steved-e38723d2391f4e274b46317187179a18bfb5135f.zip
2007-09-12 Martin Hunt <hunt@redhat.com>
PR 5019 * elaborate.cxx (visit_hist_op): Remove log histogram param. * translate.cxx (assert_hist_compatible): Ditto. * staptree.cxx (hist_op::print): Ditto. * session.h (statistic_decl): Ditto. * parse.cxx (expect_number): Allow negative numbers. Also validate that input is really numeric. This is used by histograms to get the parameters. (parse_hist_op_or_bare_name): Remove code to get parameter for log histograms.
Diffstat (limited to 'session.h')
-rw-r--r--session.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/session.h b/session.h
index b7c9bac0..1c0e1890 100644
--- a/session.h
+++ b/session.h
@@ -48,18 +48,15 @@ struct statistic_decl
{
statistic_decl()
: type(none),
- logarithmic_buckets(0),
linear_low(0), linear_high(0), linear_step(0)
{}
enum { none, linear, logarithmic } type;
- int64_t logarithmic_buckets;
int64_t linear_low;
int64_t linear_high;
int64_t linear_step;
bool operator==(statistic_decl const & other)
{
return type == other.type
- && logarithmic_buckets == other.logarithmic_buckets
&& linear_low == other.linear_low
&& linear_high == other.linear_high
&& linear_step == other.linear_step;