PID: Apply rate limit for failsafe loggers

Tested:
With 4 as the limit, there are at most 4 logs per second for 1 zone:
```
root@mvbe22-nfd11:~# journalctl --unit=phosphor-pid-control.service -b | grep 'Jan 21 17:08:48' | grep 'Zone `0` is in failsafe mode.'
Jan 21 17:08:48 mvbe22-nfd11.prod.google.com swampd[2090]: Zone `0` is in failsafe mode.                With update at `P0_DIMM_0_TS0_TEMP`: The sensor has invalid readings.
Jan 21 17:08:48 mvbe22-nfd11.prod.google.com swampd[2090]: Zone `0` is in failsafe mode.                With update at `P0_DIMM_1_TS0_TEMP`: The sensor has invalid readings.
Jan 21 17:08:48 mvbe22-nfd11.prod.google.com swampd[2090]: Zone `0` is in failsafe mode.                With update at `P0_DIMM_2_TS0_TEMP`: The sensor has invalid readings.
Jan 21 17:08:48 mvbe22-nfd11.prod.google.com swampd[2090]: Zone `0` is in failsafe mode.                With update at `P0_DIMM_3_TS0_TEMP`: The sensor has invalid readings.
```

Fusion-Link:
fusion2.corp.google.com/3982ffd9-31a7-3109-9deb-e430dbda2fe5
fusion2.corp.google.com/09308607-504e-3644-8eab-3fd8bac69bed
fusion2.corp.google.com/2fe3031d-9a3e-378d-bfde-b0e1117b0bc8
fusion2.corp.google.com/3ce1adc6-e8d8-37bb-946c-8736c30caba7
fusion2.corp.google.com/8e8ed699-3867-34e9-a02a-0af9027c6aa3

Change-Id: Ie9d937859016d22667a10a3551dc111ea59360ce
Google-Bug-Id: 452739805
Google-Bug-Id: 467198944
Google-Bug-Id: 473271843
Signed-off-by: James Zheng <alphetis@google.com>
2 files changed
tree: 7015ca5d22e44eaf543bd7cd18e496ce28f85251
  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.