Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Jaehun Jeong <jh4u.jeong@samsung.com>
|
|
- To allow the request of Minicontroller
Rollback to original Mr.Kwon's patch : https://review.tizen.org/gerrit/#/c/103884/1
Change-Id: I1d6043c8388c14bdf636157288922dc6df2a3a24
|
|
|
|
This reverts commit 73b906e4714db967fa6438260c3fa020e67d71a7.
Change-Id: I92b71689d87c4541aa4933aaecb19ed2f14d1255
|
|
Change-Id: I8561972e584233fd417d84a8850293e6c666f306
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
- If proc_app_list is closed without open, lock issue will occurred
- To prevent this situation, checking code is included
Change-Id: I63950ec05350ad74e03acdf398c5901e4fe9c8bc
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
- At a time, only one user_list is existed
- Each module using this no more have to worry about memory leak
- Replace from hash table to array because few user is existed in current
Change-Id: I152915072025afd9ecb898a8077bd99f5f281cfc
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
- strerror is not thread-safe
- Size of buffer is decided to usually used
Change-Id: Icef5a5605e4347d65a634a0088445e07721b23d8
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
- Define cleanup function
- Remove unused variable
Change-Id: I11ff0af7ffd55d47f3b0eccdbde652ec243493fe
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
- Add handle for prelaunch app
- Rename child pid handling api properly
- Do not overwrite flags and categories of app_info
Change-Id: I43ccf642d5f5e07e50c04edbfee08f45045c4599
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
- Remove unnecessary resourced-cpucgroup.service
- Use GLOB instead of declaring all files
- Exclude swap source file when swap module is disabled
Change-Id: I8388b866f1337af462a32ccfc54d64c210526e46
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
- Some numbers like pid should be written to unsigned int
Change-Id: Id34e1395974afd7526e1d92bb2dcfef4a2fd4f84
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
- To allow the request of Minicontroller
Change-Id: Iebaf678f2069b65216aeed3f311efbbfd5781b96
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
- No longer used
- In addition, from now, all HEART sub-modules will be listed in the HEART conf file
Change-Id: Ibc8c252c8d2359084261cc7abe6e89a8e0faa266
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
- When current index is 0, then temp index should be INDEX_WINDOW_SIZE - 1
- However, temp is set to 0, so we have to fix it
- Meanwhile, some comments and logs are modified
Change-Id: Iefe85b2f3b4987cb4dec9d034b16a626d70f0a58
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
- LevelDB is not thread-safe
Change-Id: I845246c7041a120c8e710ce52c9c554732c0e012
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
1) Stability
- Use enum for charger status instead of integer
- Fix memory leak
- Asynchronous (level)DB updating
2) New function
- Discharge rate : HIGH(1.2x~), LOW(~0.8x), compare with predicted rate
- New logic for battery remaining time estimation
- Calculate SOE(State Of Energy) decreasing rate
- SOE is considered to the integral of OCP(Open-Circuit Potential)
- To use new logic, vendor have to support battery capacity and OCV coefficients
Change-Id: Ic80073028d8fde16980a53d8cb550023b56cb8b8
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
- Fix memory leak
- Remove unreachable code
- Fix cache searching condition
Change-Id: Ia91f07461afa7a759899533276717ec2c175dfc0
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
- Check memory allocation
- Initialize variables
Change-Id: I733751b3efd7042de73c6f8656421a1a4d0c4971
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
Change-Id: I77e66fb8cfd9cf19111af2e2dad91e5868fc313e
[Rebase]
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
The change of RO partition is dealt with in different way.
There is no need to make change of RO in RW update script.
Change-Id: Icefcec01219c59e65cf954438290bffe529e8304
Signed-off-by: taeyoung <ty317.kim@samsung.com>
[Remove exclude list file from upgrade path]
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
- Fix signal name and dbus format
Change-Id: I297eef44a45823631041be17e6e27f18e17e2af0
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
[Modify comment]
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
- Bug Fix from Mr.Kim of MCD
- Close object at the appropriate time
Change-Id: Ie9331dbedf0ffa69507c99fda00bd8314c3cefb9
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
Change-Id: I24c32bc9ccf3e0ac85f5b84c26b57d2ded02c909
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
Change-Id: If6b6aec2f11454c796b2f54615d99921926ff4f0
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
- All definitions will not have "/"
- Exception : root path ("/"sys/~), intermediate path (/sys"/"fs/~)
- Instead, "/" will be included in the function like snprintf
Change-Id: I3be94a7f357a9aa4d2db3ce0019c40d6269e96b0
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
- For removing ecore-file dependency
Change-Id: I2fb208e60c7bdd23d151eb6a3ab3ec93a629964f
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
Change-Id: If6b6aec2f11454c796b2f54615d99921926ff4f0
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
Change-Id: Id264986beb0d20a97303b666a9fa3bdc6c385908
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
CAUTION: %pre section had not been active and will be
active from now on.
The whole %pre section was dead (and now alive),
so you should be careful on the behavior of that
"systemctl stop"
Change-Id: I6875b3a1e6a9f45bec6fe5c8efc07bec0685ea4b
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
|
|
- System-freezer will link proc_app_list functions to use it
Change-Id: I57acaba1bee806e98e7f42bdf4529a892cdb7dae
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
Change-Id: I129b4fd3dc0284223c419d930bb3c16356234c5e
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
Change-Id: I90368bebe65f9390feff539c20655c943b811506
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
- Getting pid
- Getting information about memory.stat
- In addition, all cgroup functions will unify prefix
Change-Id: I305ba00c5baa8e7962340d03c133cdc75faa3949
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
- Size converting macro is supported by resourced util
Change-Id: I56365f759de498894c914e0b1f2943a83a9532a6
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
Change-Id: I848de5426f563997be73e551d248796fed0335dc
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
1) New functions provide per-process memory usage
- pss, uss : use totmaps(if supported) or smaps(else)
- zram usage
- memory usage : pss + vmswap
2) proc_get_mem_usage is modified
- VmSize, VmRSS -> VmSwap, VmRSS
3) Other modules use these functions above
- vmpressure no more uses HEART-memory to get uss
- Signal handlers providing memory usage reply not rss but (pss + vmswap)
Change-Id: If8e2ff575b8d666ae82317228ff821c157c5cfc2
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
- Existed calculation is too strange
- Usage percentage = used time / elapsed time
- To get elapsed time, starttime and uptime are needed
Change-Id: I1834a550ae32603c66af780de72d57c0bcedcbb2
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
- Current app information will be stored to /run/resourced/appinfo
- In there, each app has their own directory and store current state
- When resourced is restarted, proc module will read it and restore app information
Change-Id: I71b5a814615b928fd97194ebdae00cb15e902e65
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
- After restarting, all information are erased though other apps aren't exited
- Therefore, if each module needs, they can run restore function
- In addition, when restarted, BOOTING_DONE notifier will be broadcasted
Change-Id: I205993417565bc0505c4762b7da0c09e4b85a3a2
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
- Check whether sub-module is successfully loaded or not
- Re-establish module priority : LATE(default), NORMAL, EARLY, HIGH
Change-Id: Ife26e883af2578f449f65fa253b5026ea5e4ba81
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
Change-Id: Id177abb4510935da9396a72355c779ca81a91c4d
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
- We don't have to allocate and free for one-variable structure
Change-Id: Ic17e5a1c5dbb59adb4b38351ce5f72df19c3519c
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
Change-Id: I94a9d393236d73b44262ebc5631619eadd711284
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
Change-Id: Ib06118f5f7f49e7d01dc55b04d1d172ee20ec9b8
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
Change-Id: I0b9d4b361d0f69bea4e2bbfac0dfb49b65419660
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
|
|
Change-Id: Ida84dd5b4ef5334ea6c264c7697052962ed222c0
Signed-off-by: Chang Hyeon Chae <ckid.chae@samsung.com>
|
|
- For security issue
Change-Id: Ia71a2197a1aeaff02b4b3ba651745c9d504a413d
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|
|
- Prevent making not intended file
- Use %q instead of %s for preventing SQL injection
Change-Id: I778a2d3ff8af26112bca346b62b19322e094a01d
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
|