diff options
author | Breno Leitao <leitao@debian.org> | 2023-10-12 04:13:59 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-10-13 17:26:38 -0700 |
commit | 131eeb45b96107b19f9f231d6e81348b471b2ed0 (patch) | |
tree | d3df23aaae908fc16addf7b4afb5371b0f260715 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 28856ab2c0b5b6e87b9a9739a0b59b6ff83689bd (diff) |
netconsole: Initialize configfs_item for default targets
For netconsole targets allocated during the boot time (passing
netconsole=... argument), netconsole_target->item is not initialized.
That is not a problem because it is not used inside configfs.
An upcoming patch will be using it, thus, initialize the targets with
the name 'cmdline' plus a counter starting from 0. This name will match
entries in the configfs later.
Suggested-by: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Breno Leitao <leitao@debian.org>
Link: https://lore.kernel.org/r/20231012111401.333798-3-leitao@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions