]> git.baikalelectronics.ru Git - kernel.git/commit
dyndbg: refactor parse_linerange out of ddebug_parse_query
authorJim Cromie <jim.cromie@gmail.com>
Sun, 19 Jul 2020 23:10:52 +0000 (17:10 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Jul 2020 15:00:09 +0000 (17:00 +0200)
commit8bd6a983d8036d1319f5b5358cf3143e98fdc591
tree63fff3609a63399b213838a912d1474f9d9268e1
parent8357017461eba24b6b5c0d17dae84960ea1f55ad
dyndbg: refactor parse_linerange out of ddebug_parse_query

Make the code-block reusable to later handle "file foo.c:101-200" etc.
This is a 99% code move, with reindent, function wrap&call, +pr_debug.

no functional changes.

Acked-by: <jbaron@akamai.com>
Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
Link: https://lore.kernel.org/r/20200719231058.1586423-13-jim.cromie@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
lib/dynamic_debug.c