Process names can contains - signs also
Valid process names can consist of \w ([a-zA-Z0-9_]), minus and spaces.
This commit is contained in:
parent
dcfbdf43eb
commit
cceb2fa21e
@ -318,7 +318,7 @@ class OOMAnalyser(object):
|
|||||||
"""Analyse an OOM object and calculate additional values"""
|
"""Analyse an OOM object and calculate additional values"""
|
||||||
|
|
||||||
REC_INVOKED_OOMKILLER = re.compile(
|
REC_INVOKED_OOMKILLER = re.compile(
|
||||||
r'^(?P<trigger_proc_name>[\w ]+) invoked oom-killer: '
|
r'^(?P<trigger_proc_name>[\w\- ]+) invoked oom-killer: '
|
||||||
r'gfp_mask=(?P<trigger_proc_gfp_mask>0x[a-z0-9]+)(\((?P<trigger_proc_gfp_flags>[A-Z_|]+)\))?, '
|
r'gfp_mask=(?P<trigger_proc_gfp_mask>0x[a-z0-9]+)(\((?P<trigger_proc_gfp_flags>[A-Z_|]+)\))?, '
|
||||||
r'(nodemask=(?P<trigger_proc_nodemask>([\d,-]+|\(null\))), )?'
|
r'(nodemask=(?P<trigger_proc_nodemask>([\d,-]+|\(null\))), )?'
|
||||||
r'order=(?P<trigger_proc_order>\d+), '
|
r'order=(?P<trigger_proc_order>\d+), '
|
||||||
|
Loading…
Reference in New Issue
Block a user