Home
last modified time | relevance | path

Searched hist:"2 fc0a35d8d0a32865f87b9f5c52aeef3518cf52f" (Results 1 – 3 of 3) sorted by relevance

/openbmc/phosphor-fan-presence/control/
H A Dmain.cppdiff 2fc0a35d8d0a32865f87b9f5c52aeef3518cf52f Mon Oct 04 15:10:57 CDT 2021 Matt Spinler <spinler@us.ibm.com> control: Dump flight recorder on signal SIGUSR1

Add a SIGUSR1 handler to dump the flight recorder.

It uses the sdventplus sd_event_add_defer wrapper to do the dump when
the code gets back to the event loop so it doesn't spend the time doing
it inside the signal handler itself.

The flight recorder can now be dumped with:
kill -USR1 $(pidof phosphor-fan-control)
or
systemctl kill -s USR1 phosphor-fan-control@0

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I46e45cb7a5e42ea4d217f63a8e14b6ef02ed8c22
/openbmc/phosphor-fan-presence/control/json/
H A Dmanager.hppdiff 2fc0a35d8d0a32865f87b9f5c52aeef3518cf52f Mon Oct 04 15:10:57 CDT 2021 Matt Spinler <spinler@us.ibm.com> control: Dump flight recorder on signal SIGUSR1

Add a SIGUSR1 handler to dump the flight recorder.

It uses the sdventplus sd_event_add_defer wrapper to do the dump when
the code gets back to the event loop so it doesn't spend the time doing
it inside the signal handler itself.

The flight recorder can now be dumped with:
kill -USR1 $(pidof phosphor-fan-control)
or
systemctl kill -s USR1 phosphor-fan-control@0

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I46e45cb7a5e42ea4d217f63a8e14b6ef02ed8c22
H A Dmanager.cppdiff 2fc0a35d8d0a32865f87b9f5c52aeef3518cf52f Mon Oct 04 15:10:57 CDT 2021 Matt Spinler <spinler@us.ibm.com> control: Dump flight recorder on signal SIGUSR1

Add a SIGUSR1 handler to dump the flight recorder.

It uses the sdventplus sd_event_add_defer wrapper to do the dump when
the code gets back to the event loop so it doesn't spend the time doing
it inside the signal handler itself.

The flight recorder can now be dumped with:
kill -USR1 $(pidof phosphor-fan-control)
or
systemctl kill -s USR1 phosphor-fan-control@0

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I46e45cb7a5e42ea4d217f63a8e14b6ef02ed8c22