mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof: allow hex for device major/minor
Noticed by Fabrice Bellet in #104
This commit is contained in:
@ -32,7 +32,7 @@ sysprof_maps_parser_init (SysprofMapsParser *self,
|
||||
line_reader_init (&self->reader, (char *)str, len);
|
||||
|
||||
if (address_range_regex == NULL)
|
||||
address_range_regex = g_regex_new ("^([0-9a-f]+)-([0-9a-f]+) [r\\-][w\\-][x\\-][ps\\-] ([0-9a-f]+) [0-9]{2}:[0-9]{2} ([0-9]+) +(.*)$",
|
||||
address_range_regex = g_regex_new ("^([0-9a-f]+)-([0-9a-f]+) [r\\-][w\\-][x\\-][ps\\-] ([0-9a-f]+) [0-9a-f]{2}:[0-9a-f]{2} ([0-9]+) +(.*)$",
|
||||
G_REGEX_OPTIMIZE,
|
||||
G_REGEX_MATCH_DEFAULT,
|
||||
NULL);
|
||||
|
||||
Reference in New Issue
Block a user