| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Enabled this support dump collection during application
specific error log commit.
Change-Id: I297a2d28c7f302b5126fb7e0792be8b68d6928ac
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
|
|
| |
Changed the pid variable name generic instead of type specific
Change-Id: Ifc8cec327a68701128c3afe0ee602f53f407d606
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
|
|
|
| |
Change optional file option to path. Valid paths are
absolute file path or d-bus path based on type parameter.
Change-Id: Ic167f9cc95f280f123d8b318c34c959952f1a78a
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
| |
Change-Id: I0f56b55df797ba4a463f7842285aae4788b2724a
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
|
|
| |
Changed default size "unlimited"
Change-Id: Ia7dcd1f3c0e0f7630abdbb2f8ab9d1a36d80b6c9
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
|
|
| |
Dump is triggered during InternalFailure type error log commit.
Change-Id: I0d3ffa318f4b45426c0064000e677b77c7a4c914
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
| |
Change-Id: I5037805703feb74d5f8450cde65fb490ba12a0f7
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
| |
Change-Id: I700ecf517f26332c0a5e0de87c77cffd94f6bb9a
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
|
|
|
| |
Changed the dump storage location from /tmp/dumps to
/var/lib/phosphor-debug-collector/dumps.
Change-Id: Ic77127e8e947cf7f15f62e1048604c9c3acaccd1
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
| |
Move the core file name validation from dreport to core manager.
systemd-coredump creates temporary file in core file path prior
to actual core file creation.
This check will help to limit dump creation only for the new core files.
Change-Id: I196d3f372d85aae0a7a36ba7171e6bfd2ff4991b
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
|
|
| |
Resolves openbmc/openbmc#2214
Change-Id: If01f2649335af6d2611c176eabf993796980ad2b
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
|
|
| |
Resolves openbmc/openbmc#1506
Change-Id: I83ead760b8d3ce285ed9421e54f0027652b4e534
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
| |
Change-Id: Ie6d67adbe6b499a7ad1edac7b2de945ea70b0ca4
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
| |
Change-Id: I8c99fe708f9d5b90a6f868524c7694f520f8f23a
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
| |
Change-Id: I9babd0ce347a25aeed75c98ccc3686530efe38e2
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
| |
Change-Id: I5605f6f5697ccd4bffa58917b3c6d660a301c6cd
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Added support for running command in the command array and
save the data into specified location.
Added file level size check function, which helps to cap the
final dreport log based on size provided by user.
Change-Id: I5bb0f2629bf4b4dd7b86b6dd97d205c413af6fcf
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
| |
Change-Id: I1af8a3c26e05c916a3e6d342b0a39f7b37be296c
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
| |
Change-Id: Ibe4e75746937d186caf33c14258045fc14c5e632
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
| |
Change-Id: Ief1b2ebea76f556ba00b2567f8f2db627155d9fd
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
| |
Change-Id: Ida6dc81be4103a0d37a0701a7c0d55b241e6fc1a
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
| |
Change-Id: Icb9d890ef1bdf78ad6bac798b4038bb6973b0693
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
This file is from older version of BMC, the newer no longer have
this file as part of the FW.
Change-Id: Iecda46592794517f80145f45f0ca32900a353885
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
|
|
|
|
|
|
|
| |
Resolves: openbmc/openbmc#1507
Change-Id: I15f76cd8e6652334bcfcc2923773d67fafcfed97
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
| |
Change-Id: Iaab787b58c82c60ed8b95d25d45937f1e01615ed
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
| |
Change-Id: I5e373c68d61364d56dc0544b4f7924ad6ccde216
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
| |
dreport tool is used to capture configuration and debug information
from BMC. This tool can be used for BMC application and commandline.
This commit enables dreport --help option.
Change-Id: I451db96c6ec0ed901e1bc557c073b3c7c21c7171
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
| |
Change-Id: I8b7752fed7ebe8d1b166441b4543e03fa442bf3c
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
|
|
|
|
|
| |
Change-Id: Ie229e5704820071fa429f4c98e72a11a667e2b92
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
| |
Change-Id: I924b6724c715b81da5dc9d53094358993dcd335a
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
|
|
| |
Added support for the dump specific filename format.
Change-Id: I8771017c5a029675f98bca54170dc3330ac2c24d
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
|
|
|
|
| |
ffdc -e option is used to enable dump specific features.
Resolves openbmc/openbmc#1795
Change-Id: Ib90e590ab48d37413890a77e7d28162a5f4d5733
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: Ic77e86c9e45d4b25397a4b7cfd70e131a40bdfa8
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
|
|
| |
Added support to get id and epochtime from filename.
Change-Id: I57064fc69c8fe67380d76bb4bdd71d3a1316179c
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
|
|
| |
Implemented d-bus internal create function.
Change-Id: I34088d4c084a5a086189f4bc9e84e53a39193501
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
| |
Change-Id: Iccfe13bdbcfe539d1a8dd2f1726be5539b383bc5
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
| |
Change-Id: I38b1f0a06e96a465526ea1ac497e49dc5f778dd8
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
| |
Change-Id: I85974e00c31f5179106674ececeb53072008a83d
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
| |
Change-Id: If77e549ead60e6b6e21cd9069fbc0a324db6bc80
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
|
|
| |
Resolves openbmc/openbmc#1510
Change-Id: I5f73c4330df8a5deab29e29201e8521740e6b047
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Create user specified ffdc location incase not present in the BMC.
Change-Id: If472ab34826b34037bc99cb978d5be77a51c30ec
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
ffdc -d option expected to store the output in directory
specified by the user.
Fixed the incorrect behaviour in this option.
Change-Id: I2694c0a7d2050bd318aeb3792b96cb128d15ce82
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
|
|
| |
Fixes openbmc/openbmc#1774
Change-Id: Iad02c5df4083f5509f706cc64cc68bc7cd5e7391
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
|
|
|
|
| |
Add an inotify watch to the known core dump location.
Resolves openbmc/openbmc#1504
Change-Id: I0093c9f601d82917ca2efb53a4d47ed98f0eaa7f
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|