diff options
author | Matt Derksen <mderkse1@us.ibm.com> | 2018-08-28 10:59:25 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-09-12 10:31:05 -0500 |
commit | 7c5afbddbf0a3f795ad8404319e09a3ff00b11b8 (patch) | |
tree | dcf4b85818bc0351ddf43bdab591ec838269205f /src/usr/pnor/pnorrp.C | |
parent | b4a7e97c1806c09f33706975f102faefcfcf5708 (diff) | |
download | talos-hostboot-7c5afbddbf0a3f795ad8404319e09a3ff00b11b8.tar.gz talos-hostboot-7c5afbddbf0a3f795ad8404319e09a3ff00b11b8.zip |
Additional tracing for shutdown events
Hit an issue where a shutdown was called but all that is
traced is a msgQ pointer. These traces should help associate the
msgQ pointer to an actual task being shutdown.
Change-Id: Ic22fdde1a146eec90f26d557e8af1ddec3c85c4e
CQ:SW443508
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65464
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/pnor/pnorrp.C')
-rw-r--r-- | src/usr/pnor/pnorrp.C | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/usr/pnor/pnorrp.C b/src/usr/pnor/pnorrp.C index df88ba821..1df1f7001 100644 --- a/src/usr/pnor/pnorrp.C +++ b/src/usr/pnor/pnorrp.C @@ -280,9 +280,10 @@ void PnorRP::initDaemon() // create a message queue iv_msgQ = msg_q_create(); - INITSERVICE::registerShutdownEvent( iv_msgQ, - PNOR::MSG_SHUTDOWN, - INITSERVICE::PNOR_RP_PRIORITY); + INITSERVICE::registerShutdownEvent( PNOR_COMP_ID, + iv_msgQ, + PNOR::MSG_SHUTDOWN, + INITSERVICE::PNOR_RP_PRIORITY ); // create a Block, passing in the message queue int rc = mm_alloc_block( iv_msgQ, (void*) BASE_VADDR, TOTAL_SIZE ); |