Disable use of hardware perf counters.

They don't seem to actually work on a lot of hardware.
This commit is contained in:
Søren Sandmann
2010-03-09 12:06:36 -05:00
parent 1707bebe93
commit 08d4d26060
4 changed files with 10 additions and 6 deletions

View File

@ -34,7 +34,8 @@ typedef enum
} CollectorError;
/* callback is called whenever a new sample arrives */
Collector *collector_new (CollectorFunc callback,
Collector *collector_new (gboolean use_hw_counters,
CollectorFunc callback,
gpointer data);
gboolean collector_start (Collector *collector,
GError **err);