aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2020-02-19 09:40:58 +0100
committerGreg Kroah-Hartman <[email protected]>2020-02-21 10:24:32 +0100
commitaebe5fc3b5685e1d9b86cc8314a8e8f3c6f3284e (patch)
tree41bb80c7a9e1c3c8bcc491663571f407deefa0bf /tools/perf/scripts/python/stackcollapse.py
parentf3c2e27750ea42b3cec96e5264d95c2a2b793156 (diff)
n_hdlc: put init/exit strings directly to prints
These strings were put aside from prints to save some bytes after module load or when built-in -- they were freed after module load (__init ones) or when the driver is selected as built-in (__exit ones). The savings are negligible, but the code readability is worse by the order of magnitude. So put the strings where they belong. Note that it also used to make little sense putting const data in .data (the __exit case). While at it, switch to pr_info, pr_err, not using the KERN_INFO and _ERR directly. 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