#
2a8848c6 |
| 01-Aug-2023 |
George Liu <liuxiwei@inspur.com> |
logging: switch to lg2
After switching to C++20, it is recommended to use `phosphor::lg2` to format log, and the correct `CODE_LINE` and `CODE_FUNC` values can be used in log tracking.
Signed-off-b
logging: switch to lg2
After switching to C++20, it is recommended to use `phosphor::lg2` to format log, and the correct `CODE_LINE` and `CODE_FUNC` values can be used in log tracking.
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I4fe8f4dec90e5062096168e05947b6d9bc355bb2
show more ...
|
#
39084b4a |
| 10-May-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest .clang-format from the docs repository and reformat the repository.
Change-Id: I3942bdbbb0fc2d46d755a74f481bb44fa63dc486 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
86d16f03 |
| 19-Sep-2019 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
build: fix some warnings Fix a couple of warnings: -Werror=unused-parameter so we can use meson's warning_level=3 and -Werror without build failures. Change-Id
build: fix some warnings Fix a couple of warnings: -Werror=unused-parameter so we can use meson's warning_level=3 and -Werror without build failures. Change-Id: I14487a56727469f6bda1cabccce8241ac1acb149 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
92b4db38 |
| 19-Sep-2019 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
monitor.cpp: don't include config.h config.h doesn't contain anything useful. Don't include it. Change-Id: Id3c77cd549a61a4dee295b1c2d5e33fc6d5d82fa Signed-off-by: Brad Bishop
monitor.cpp: don't include config.h config.h doesn't contain anything useful. Don't include it. Change-Id: Id3c77cd549a61a4dee295b1c2d5e33fc6d5d82fa Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
dace680f |
| 01-Nov-2018 |
Patrick Venture <venture@google.com> |
Add clang-format to repo Add clang-format to repo. Change-Id: I3f8704d80dd0bdde0706ab189c68cffe6d347995 Signed-off-by: Patrick Venture <venture@google.com>
|
#
bc4a4ff6 |
| 11-Apr-2018 |
Lei YU <mine260309@gmail.com> |
Add --continue argument The monitor will exit when key is pressed. Add --continue argument and if it is set to "true", the monitor will continue after key is pressed. This i
Add --continue argument The monitor will exit when key is pressed. Add --continue argument and if it is set to "true", the monitor will continue after key is pressed. This is useful in cases to monitor a button presses. E.g. It can be used to monitor ID button and start a system unit everytime when the button is pressed. This argument is optional so it does not break the current code. Tested: With "--continue=true", the monitor does not exit when the key is pressed. Without the argument of if it is set to other strings, the monitor exits after the key is pressed. Change-Id: I4f2ca16d7b26e10397181c83c2c5947ed5ce091f Signed-off-by: Lei YU <mine260309@gmail.com>
show more ...
|
#
9925857a |
| 27-Jul-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Refactor GPIO Monitor class Refactor the GPIO Monitor class to use a common class, Evdev, to inherit from. Evdev does the basic libevdev handling. Change-Id: I427aa9720b0bbbea02
Refactor GPIO Monitor class Refactor the GPIO Monitor class to use a common class, Evdev, to inherit from. Evdev does the basic libevdev handling. Change-Id: I427aa9720b0bbbea0284c0babcc03ece92e55f5e Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
#
ba8de421 |
| 19-Jun-2017 |
Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> |
Fix incorrect initialization of evdev Fixes openbmc/openbmc#1799 Change-Id: I81662ede88d1a05db48686ec57aab969c8dea27a Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.
Fix incorrect initialization of evdev Fixes openbmc/openbmc#1799 Change-Id: I81662ede88d1a05db48686ec57aab969c8dea27a Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
show more ...
|
#
77ec4799 |
| 10-Apr-2017 |
Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> |
Use libevdev for monitoring GPIO state change Change-Id: I962af3034586f027e6ba74387dcda6ef0cf3672e Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|
#
ba730130 |
| 04-Apr-2017 |
Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> |
Call defined target when GPIO line is asserted Change-Id: Ia5445a8d6585acfec69783ba158c8d866d526e97 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|
#
0b95603e |
| 04-Apr-2017 |
Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> |
Add sd_event loop and callback handler Change-Id: I032d1156be2b8082fdf347a60ec883a9bc0038ae Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|
#
4902a10c |
| 04-Apr-2017 |
Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> |
Populate the file descriptor for the device On a GPIO chip, there could be many gpio lines and for each line, there would be a corresponding input device event file. To know the asse
Populate the file descriptor for the device On a GPIO chip, there could be many gpio lines and for each line, there would be a corresponding input device event file. To know the assertion state of a GPIO line, a descriptor is needed. This descriptor will later be plugged into sd_event so that the GPIO state changes can be caught and handled. Change-Id: Idc8c2b429688fea2a5124b96677085b1be48128b Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
show more ...
|