Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shawn Webb
Fwupd
Commits
f3c3adb7
Commit
f3c3adb7
authored
Feb 18, 2021
by
Richard Hughes
Browse files
trivial: Add some more verbose debugging to help with plugin development
parent
69346569
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/fu-engine.c
View file @
f3c3adb7
...
...
@@ -6024,6 +6024,12 @@ fu_engine_backend_device_added_cb (FuBackend *backend, FuDevice *device, FuEngin
return
;
}
/* super useful for plugin development */
if
(
g_getenv
(
"FWUPD_PROBE_VERBOSE"
)
!=
NULL
)
{
g_autofree
gchar
*
str
=
fu_device_to_string
(
FU_DEVICE
(
device
));
g_debug
(
"%s added %s"
,
fu_backend_get_name
(
backend
),
str
);
}
/* can be specified using a quirk */
possible_plugins
=
fu_device_get_possible_plugins
(
device
);
for
(
guint
i
=
0
;
i
<
possible_plugins
->
len
;
i
++
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment