platforms: consolidate latency_buckets

These symbols were duplicated all over the place.
This commit is contained in:
Julian Oes
2018-11-15 10:57:59 +01:00
parent b13600ed1a
commit d75389b2e4
7 changed files with 13 additions and 39 deletions
-7
View File
@@ -44,13 +44,6 @@
__EXPORT int perf_main(int argc, char *argv[]);
/* latency histogram */
#define LATENCY_BUCKET_COUNT 8
__EXPORT const uint16_t latency_bucket_count = LATENCY_BUCKET_COUNT;
__EXPORT const uint16_t latency_buckets[LATENCY_BUCKET_COUNT] = { 1, 2, 5, 10, 20, 50, 100, 1000 };
__EXPORT uint32_t latency_counters[LATENCY_BUCKET_COUNT + 1];
static void print_usage(void)
{
PRINT_MODULE_DESCRIPTION("Tool to print performance counters");