From e250d12184416f661616966c051e7b31edc16aaf Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Thu, 5 May 2016 20:06:42 +0200 Subject: [PATCH] Board drivers: Shorten perf names --- src/drivers/boards/aerocore/aerocore_init.c | 4 ++-- src/drivers/boards/mindpx-v2/mindpx2_init.c | 4 ++-- src/drivers/boards/px4fmu-v2/px4fmu2_init.c | 4 ++-- src/drivers/boards/px4fmu-v4/px4fmu_init.c | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/drivers/boards/aerocore/aerocore_init.c b/src/drivers/boards/aerocore/aerocore_init.c index 83bc2f4234..0597d56bcc 100644 --- a/src/drivers/boards/aerocore/aerocore_init.c +++ b/src/drivers/boards/aerocore/aerocore_init.c @@ -139,10 +139,10 @@ dma_alloc_init(void) 6); /* 64B alignment */ if (dma_allocator == NULL) { - message("[boot] DMA allocator setup FAILED"); + message("DMA alloc FAILED"); } else { - g_dma_perf = perf_alloc(PC_COUNT, "DMA allocations"); + g_dma_perf = perf_alloc(PC_COUNT, "dma_alloc"); } } diff --git a/src/drivers/boards/mindpx-v2/mindpx2_init.c b/src/drivers/boards/mindpx-v2/mindpx2_init.c index 1383485d7d..94064c7669 100644 --- a/src/drivers/boards/mindpx-v2/mindpx2_init.c +++ b/src/drivers/boards/mindpx-v2/mindpx2_init.c @@ -140,10 +140,10 @@ dma_alloc_init(void) 6); /* 64B alignment */ if (dma_allocator == NULL) { - message("[boot] DMA allocator setup FAILED"); + message("DMA alloc FAILED"); } else { - g_dma_perf = perf_alloc(PC_COUNT, "DMA allocations"); + g_dma_perf = perf_alloc(PC_COUNT, "dma_alloc"); } } diff --git a/src/drivers/boards/px4fmu-v2/px4fmu2_init.c b/src/drivers/boards/px4fmu-v2/px4fmu2_init.c index d20e0cbf47..8055a06e18 100644 --- a/src/drivers/boards/px4fmu-v2/px4fmu2_init.c +++ b/src/drivers/boards/px4fmu-v2/px4fmu2_init.c @@ -140,10 +140,10 @@ dma_alloc_init(void) 6); /* 64B alignment */ if (dma_allocator == NULL) { - message("[boot] DMA allocator setup FAILED"); + message("DMA alloc FAILED"); } else { - g_dma_perf = perf_alloc(PC_COUNT, "DMA allocations"); + g_dma_perf = perf_alloc(PC_COUNT, "dma_alloc"); } } diff --git a/src/drivers/boards/px4fmu-v4/px4fmu_init.c b/src/drivers/boards/px4fmu-v4/px4fmu_init.c index 9dfcafa4ff..3b72690ba8 100644 --- a/src/drivers/boards/px4fmu-v4/px4fmu_init.c +++ b/src/drivers/boards/px4fmu-v4/px4fmu_init.c @@ -140,10 +140,10 @@ dma_alloc_init(void) 6); /* 64B alignment */ if (dma_allocator == NULL) { - message("[boot] DMA allocator setup FAILED"); + message("DMA alloc FAILED"); } else { - g_dma_perf = perf_alloc(PC_COUNT, "DMA allocations"); + g_dma_perf = perf_alloc(PC_COUNT, "dma_alloc"); } }