From e86221ce862640b1bc72b26182ef166a75a8ef1e Mon Sep 17 00:00:00 2001 From: Corey Swenson Date: Wed, 4 Apr 2018 14:16:30 -0500 Subject: Set the runtime scom trace buffers with constants Change-Id: I6c5e0ce2dde28210125cf698cc4c27b7fe3bdb1e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56757 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Martin Gloff Reviewed-by: Christian R. Geddes Reviewed-by: Daniel M. Crowell --- src/usr/ibscom/makefile | 2 +- src/usr/ibscom/runtime/rt_ibscom.C | 2 +- src/usr/xscom/runtime/rt_xscom.C | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/usr/ibscom/makefile b/src/usr/ibscom/makefile index 69403562f..220344104 100644 --- a/src/usr/ibscom/makefile +++ b/src/usr/ibscom/makefile @@ -25,7 +25,7 @@ ROOTPATH = ../../.. MODULE = ibscom -#include common ojects between hostboot and runtime hostboot +#include common objects between hostboot and runtime hostboot include ibscom.mk OBJS += ibscom.o diff --git a/src/usr/ibscom/runtime/rt_ibscom.C b/src/usr/ibscom/runtime/rt_ibscom.C index d731f1acc..21561ad12 100644 --- a/src/usr/ibscom/runtime/rt_ibscom.C +++ b/src/usr/ibscom/runtime/rt_ibscom.C @@ -34,7 +34,7 @@ // Trace definition trace_desc_t* g_trac_ibscom = NULL; -TRAC_INIT(&g_trac_ibscom, "IBSCOM", 2*KILOBYTE, TRACE::BUFFER_SLOW); +TRAC_INIT(&g_trac_ibscom, IBSCOM_COMP_NAME, 2*KILOBYTE, TRACE::BUFFER_SLOW); namespace IBSCOM { diff --git a/src/usr/xscom/runtime/rt_xscom.C b/src/usr/xscom/runtime/rt_xscom.C index cf7d40052..404753bf0 100644 --- a/src/usr/xscom/runtime/rt_xscom.C +++ b/src/usr/xscom/runtime/rt_xscom.C @@ -33,7 +33,7 @@ // Trace definition trace_desc_t* g_trac_xscom = NULL; -TRAC_INIT(&g_trac_xscom, "XSCOM", 2*KILOBYTE, TRACE::BUFFER_SLOW); +TRAC_INIT(&g_trac_xscom, XSCOM_COMP_NAME, 2*KILOBYTE, TRACE::BUFFER_SLOW); namespace XSCOM { -- cgit v1.2.1