ipmid: Improve fetch fru sdr delays

The GetManagedObject call is very heavy and it is called on each fru sdr
entry. Update the algorithm to use GetSubtreePaths isntead.

Tested:
Getting all sdr took 25 seconds to 12 seconds on system with a lot of
sensor + fru.

Fusion-Link:
- platform11
 - http://fusion2/28f7dd96-2096-3a73-90d1-3748b7975e4a
 - http://fusion2/48c96ca5-e333-399a-86ad-63a8dbf5a11f
- platform5: http://fusion2/c802786c-fa76-3b05-9e3c-7a3f07817f40
- platform15: http://fusion2/446b18d8-ca74-3352-b113-a3456ae3ff9b
- platform17: http://fusion2/13f92a2f-f08e-3436-8673-5ed66d0be0c9

Platforms-Affected: IPMI
Google-Bug-Id: 408304241
Google-Bug-Id: 411479972
Change-Id: Iff2b1f8ccd6cb3c481a6c9ac3709cda781c22dda
Signed-off-by: Willy Tu <wltu@google.com>
(cherry picked from commit 263704cbb46db2861c7fea5952083ea6590f20f7)
2 files changed
tree: 13d08b24434ed8530a8592ce3d29974cc98bcc3d
  1. classes/
  2. conf/
  3. dynamic-layers/
  4. recipes-bsp/
  5. recipes-connectivity/
  6. recipes-core/
  7. recipes-devtools/
  8. recipes-extended/
  9. recipes-google/
  10. recipes-kernel/
  11. recipes-phosphor/
  12. recipes-support/
  13. recipes-tpm1/
  14. recipes-tpm2/
  15. LICENSE
  16. README.md
README.md

meta-gbmc-staging

This repository contains additions to the openbmc/meta-google layer that are not yet ready for OpenBMC inclusion.

How to use this layer

  1. Clone openbmc/openbmc from GitHub.
  2. Clone this layer from GitHub into a subdirectory of openbmc.