summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Kunhoon Baik [Thu, 4 Apr 2019 07:09:50 +0000 (16:09 +0900)]
Wakeup watchdog thread when watchdog option is changed (Especially, in timeout change)
When watchdog option is changed by aw_control API, the changed option should be applied at the moment.
However, current self-thread watchdog does not change the option until previous timeout is expired.
This patch is to fix the bugs for self-thread watchdog.
This patch is the part of origin patch - http://slp-info.sec.samsung.net/gerrit/#/c/3321696/
cf) Version is changed from 0.0.1 to 0.0.3 because the version including "multiple types of watchdog" patch should have been 0.0.2.
Change-Id: I792c0ecee6419d7e605a4f92fa06932c9ca5d774
ByungSoo Kim [Mon, 6 Aug 2018 10:15:18 +0000 (19:15 +0900)]
argos-watchdog: support multiple types of watchdog
- systemd watchdog :
systemd daemon can use watchdog by calling the function sd_notify
If each service wants to run the systemd watchdog,
it have to declare "NotifyAccess=main" or "WatchdogSec=xx" in the service file.
- application watchdog :
All process including system daemon, UI app, service app and so on can use the watchdog
with type dbus.
It will trigger the watchdog to resourced with dbus asynchronous call.
Resourced will consider the device suspend / reusme as well as application life cycle.
- thread watchdog :
If some process doesn't have any dependency with other daemon,
it can trigger the watchdog by itself using pthread.
It is the basic method which is used in many parts.
Change-Id: I3ef136b173f7649debffa0440bbecb9ebb76f78e
Signed-off-by: ByungSoo Kim <bs1770.kim@samsung.com>
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
ByungSoo Kim [Mon, 6 Aug 2018 08:06:57 +0000 (17:06 +0900)]
argos-systemd: stop watchdog while suspending on idle
Systemd sometimes misdetected the watchdog while device goes to the suspend state.
If other process failed to suspend,
montonic time of systemd goes on although some process has been already frozen.
So when device woke up, systemd expired the watchdog timer of frozen process and killed it abnormally.
If argos-watchdog receives dbus signal about both suspend and resume,
it can stop and restart the watchdog timer.
Change-Id: Ied02df1e81cca21a05edbeb84f6746d612cc6b05
Signed-off-by: ByungSoo Kim <bs1770.kim@samsung.com>
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
ByungSoo Kim [Mon, 6 Aug 2018 06:04:54 +0000 (15:04 +0900)]
common: add printing dlog
support debugging infrasturcture by using dlog
Change-Id: I792105a1829f910ac8610419b44f184be0869021
Signed-off-by: ByungSoo Kim <bs1770.kim@samsung.com>
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Łukasz Stelmach [Fri, 14 Sep 2018 10:59:27 +0000 (12:59 +0200)]
Add .editorconfig file
The file holds basic configuration for text editors regarding
coding style as recommended for Tizen development at
https://wiki.tizen.org/Native_Platform_Coding_Idiom_and_Style_Guide
See https://editorconfig.org/ for details.
Change-Id: I8ba584ba3e0d7967c867902c09b702e2e7a271f1
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Kunhoon Baik [Thu, 20 Apr 2017 07:37:51 +0000 (16:37 +0900)]
Clean Up : Use %license macros
Change-Id: I65158b2638c3bacd1c890d352d170dab7c91dab4
Kunhoon Baik [Thu, 1 Sep 2016 07:15:21 +0000 (16:15 +0900)]
Support runtime watchdog
Previously, systemd did not support to change runtime watchdog.
However, recent systemd supports such functionality - https://github.com/systemd/systemd/commit/
2787d83c2.
Thus, argos watchdog supports the feature.
Thanks to Mr.Sung(JungHak) (Original Idea from him)
Change-Id: I8ef1741c16867e46329c529365726821dd5d44d1
Kunhoon Baik [Mon, 8 Aug 2016 11:16:27 +0000 (20:16 +0900)]
[systemd backend] modification of aw_register behavior
Prev : return NOT support
Now : return after checking statically-registered
Change-Id: I2116d7413d2ab662f42f079aad703e7d4976ae99
taeyoung [Thu, 21 Jul 2016 06:26:10 +0000 (15:26 +0900)]
test: remove codes for testing
- The test codes are unnecessary, and thus
they are removed
Change-Id: I67c1d916a7f1129e1d1ae721cff959d081979388
Signed-off-by: taeyoung <ty317.kim@samsung.com>
Kichan Kwon [Thu, 18 Feb 2016 02:36:40 +0000 (11:36 +0900)]
Use pre-defined path for compatibility with aarch64
Change-Id: I6032416841488870defd5b3d67bc47792bf73cfc
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Wed, 17 Feb 2016 04:13:27 +0000 (13:13 +0900)]
Upload initial source
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Jinkun Jang [Wed, 17 Feb 2016 03:22:16 +0000 (19:22 -0800)]
Initial empty repository