diff options
author | Andrey Konovalov <andreyknvl@google.com> | 2023-02-10 22:15:53 +0100 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-02-16 20:43:49 -0800 |
commit | df225c877d898992740d26250727a16db65c370d (patch) | |
tree | 6d977dceb336e547bfe34fc074c4e18c507c8b97 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 735df3c3a3493cbedfa86739eec6e2ee37fe95f8 (diff) |
lib/stackdepot: annotate init and early init functions
Add comments to stack_depot_early_init and stack_depot_init to explain
certain parts of their implementation.
Also add a pr_info message to stack_depot_early_init similar to the one
in stack_depot_init.
Also move the scale variable in stack_depot_init to the scope where it
is being used.
Link: https://lkml.kernel.org/r/d17fbfbd4d73f38686c5e3d4824a6d62047213a1.1676063693.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Reviewed-by: Alexander Potapenko <glider@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions