diff options
author | Mike Baiocchi <mbaiocch@us.ibm.com> | 2016-06-27 12:07:37 -0500 |
---|---|---|
committer | Bill Hoffa <wghoffa@us.ibm.com> | 2016-06-30 13:14:02 -0500 |
commit | 06d4a2c020a326b6776fd2c9c374de88e982001c (patch) | |
tree | 371f9a9b2156d974e75ebda03853859e8700a87b /src/usr/fapi2/attribute_service.C | |
parent | c6c5dcc2e0f58438c2cd029723ec129bae73a416 (diff) | |
download | talos-hostboot-06d4a2c020a326b6776fd2c9c374de88e982001c.tar.gz talos-hostboot-06d4a2c020a326b6776fd2c9c374de88e982001c.zip |
Add additional information to traces when attributes are not found
This commit traces the target and attribute id information when there
is a fail to look up an attribute related to a FAPI2 attribute.
Change-Id: I4f2e76985f9e55e86395c026f4b6ac9d05b4caa3
RTC:134079
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26301
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
Reviewed-by: Thi N. Tran <thi@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr/fapi2/attribute_service.C')
-rw-r--r-- | src/usr/fapi2/attribute_service.C | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/usr/fapi2/attribute_service.C b/src/usr/fapi2/attribute_service.C index 8e8daf558..5df1eafe9 100644 --- a/src/usr/fapi2/attribute_service.C +++ b/src/usr/fapi2/attribute_service.C @@ -197,7 +197,9 @@ ReturnCode getTargetingAttr( if (!l_success) { - FAPI_ERR("getTargetingAttr: Error from _tryGetAttr"); + FAPI_ERR("getTargetingAttr: Error from getTargetingAttrHelper " + "for target 0x%.8X and attribute 0x%x", + TARGETING::get_huid(l_pTargTarget), i_targAttrId); } } return l_rc; @@ -247,7 +249,9 @@ ReturnCode setTargetingAttr( if (!l_success) { - FAPI_ERR("setTargetingAttr: Error from _trySetAttr"); + FAPI_ERR("setTargetingAttr: Error from setTargetingAttrHelper " + "for target 0x%.8X and attribute 0x%x", + TARGETING::get_huid(l_pTargTarget), i_targAttrId); } } return l_rc; |