Skip to content

Commit

Permalink
seastar-addr2line: relax the backtrace matching
Browse files Browse the repository at this point in the history
Allow an arbitrary prefix on the line containing an address as the last
word. This allows for piping journalctl output through seastar-addr2line
as journalctl entries have a date and time as well as other stuff as a
prefix on each line.
  • Loading branch information
denesb committed Aug 2, 2018
1 parent ef8388c commit 6ae11dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/seastar-addr2line
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import subprocess


class BacktraceResolver(object):
object_address_re = re.compile('^\W*(((/[^/]+)+)\+)?(0x[0-9a-f]+)\W*$')
object_address_re = re.compile('^.* (((/[^/]+)+)\+)?(0x[0-9a-f]+)\W*$')

def __init__(self, executable, before_lines):
self._executable = executable
Expand Down

0 comments on commit 6ae11dd

Please sign in to comment.