diff options
| author | Jiri Slaby <[email protected]> | 2020-02-19 09:40:57 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-02-21 10:24:32 +0100 |
| commit | f3c2e27750ea42b3cec96e5264d95c2a2b793156 (patch) | |
| tree | ee989a27cf0eeddbc180ffa0c92be3808197ac2d /tools/perf/scripts/python/stackcollapse.py | |
| parent | 683efabc66225ace701f726316ad0ba2ccd924fb (diff) | |
n_hdlc: convert debuglevel use to pr_debug
With pr_debug we have a fine-grained control about debugging prints. So
convert the use of global debuglevel variable and tests to a commonly
used pr_debug. And drop debuglevel completely.
This also implicitly adds a loglevel to the messages (KERN_DEBUG) as it
was missing on most of them.
And also use __func__ instead of function names explicitly typed.
Signed-off-by: Jiri Slaby <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions