summaryrefslogtreecommitdiffstats
path: root/dump_manager.hpp
Commit message (Collapse)AuthorAgeFilesLines
* Refactor to pass errors to watch through config YAMLMarri Devender Rao2019-01-221-0/+7
| | | | | | | | | | | Add errors to watch for through error YAML file Add support for checkstop error type Tested: Generating dumps for elog, core, checkstop type errors. Change-Id: Idd00ace2e3d0c472a74ec142e6d150e55e843a6f Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
* Enable clang code formatJayanth Othayoth2018-10-181-136/+126
| | | | | | Change-Id: Ib640ef7cea99ff505965182ec9900a2d53a8986e Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add implementation for delete all BMC Dumps in one shotNagaraju Goruganti2017-09-291-3/+12
| | | | | | | Resolves openbmc/openbmc#2255 Change-Id: I8383c55f0f55ac02e509d17c47bc66d326994301 Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
* Enhancement of Dump cap algorithmJayanth Othayoth2017-08-221-9/+3
| | | | | | | | | Added support for collecting mini dump data incase available dump size is less than maximum dump size. Introduced minimum dump size to achieve this. Change-Id: I266ff6ea71443974a99f6f5fe54fb9f12c90f2ab Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* Cap the number of dumpsJayanth Othayoth2017-08-221-0/+12
| | | | | | | | | | | | | | | Calculate number of dumps allowed in a system based on individual dump Max size configured in the system. Algorithm: Setting Dump size to maximum size, if (dump entries + active dumps) is less than total allowed dump entries. Otherwise return error. Next patch will provide additional algorithm to cap the dump based on actual size of the dump files. Change-Id: Id8916a31d72f5c2f2f23eaf68062b829b7e4100c Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* Add missing inotify flag in user initiated dump directory watchJayanth Othayoth2017-08-011-1/+1
| | | | | Change-Id: Ie229e5704820071fa429f4c98e72a11a667e2b92 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* Restore dump d-bus objects during daemon startsJayanth Othayoth2017-07-271-0/+5
| | | | | | | | Use the dump files in the persistant location to rebuild the d-bus objects. Change-Id: Ia7b478649274a4681c802e11be4b2049eeed8e13 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* Enable user initiated dump child directory level file watchJayanth Othayoth2017-07-261-2/+14
| | | | | Change-Id: I38b1f0a06e96a465526ea1ac497e49dc5f778dd8 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* Rename BMC Dump path BMC_DUMP_FILE_DIR to BMC_DUMP_PATH.Jayanth Othayoth2017-07-181-1/+1
| | | | | Change-Id: I85974e00c31f5179106674ececeb53072008a83d Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* Add support for user initiated BMC DumpJayanth Othayoth2017-07-181-1/+22
| | | | | | | | Added support for creating new dump entry d-bus objects for user request dump. Change-Id: I31d2f478418e312e0aa6cc321a885498cf6ec6d6 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* Add support for generic inotify based directory watch.Jayanth Othayoth2017-07-171-11/+4
| | | | | | | | Watch a directory for the changes based on user configuration and then report changes to the user. Change-Id: I9f53d3135dd4bff6187840c0c53d2a64509808cd Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* Implementation of create interface.Jayanth Othayoth2017-06-291-0/+130
Both the external and internal Dump managers define "Create" interfaces. This commit implements these. Change-Id: If857ec6ea7267fd72e9b420e6b44fa68b6abab66 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
OpenPOWER on IntegriCloud