diff options
author | Ian Rogers <[email protected]> | 2021-05-19 09:44:47 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-05-27 13:24:22 -0300 |
commit | c59870e2110e1229a6e4b2457aece6ffe8d68d99 (patch) | |
tree | 4e8d46d85b08995d391337ade1492b1b3a891b49 /net/lapb | |
parent | 75ea44e356b5de8c817f821c9dd68ae329e82add (diff) |
perf debug: Move debug initialization earlier
This avoids segfaults during option handlers that use pr_err. For
example, "perf --debug nopager list" segfaults before this change.
Fixes: 8abceacff87d (perf debug: Add debug_set_file function)
Signed-off-by: Ian Rogers <[email protected]>
Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/lapb')
0 files changed, 0 insertions, 0 deletions