diff options
author | Geoff Levand <geoff@infradead.org> | 2018-08-02 17:29:34 +0000 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2018-08-07 11:30:36 +1000 |
commit | 70a58a78c951403ae67c44c839caf0e77d0d84db (patch) | |
tree | 40b6bd65da7a18e7d743e01c5525509d1c6d48ab | |
parent | 41d6eba200ada2ae28f7f016b62eee65b59fab71 (diff) | |
download | talos-petitboot-70a58a78c951403ae67c44c839caf0e77d0d84db.tar.gz talos-petitboot-70a58a78c951403ae67c44c839caf0e77d0d84db.zip |
discover: Add some debug print messages
To aid in debugging print some additinal discover messages
to the log.
Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
-rw-r--r-- | discover/device-handler.c | 1 | ||||
-rw-r--r-- | discover/platform.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/discover/device-handler.c b/discover/device-handler.c index 1299c33..9c05029 100644 --- a/discover/device-handler.c +++ b/discover/device-handler.c @@ -522,6 +522,7 @@ void device_handler_remove(struct device_handler *handler, void device_handler_status(struct device_handler *handler, struct status *status) { + pb_debug("%s: %s\n", __func__, status->message); discover_server_notify_boot_status(handler->server, status); } diff --git a/discover/platform.c b/discover/platform.c index cc6306f..e69c6f6 100644 --- a/discover/platform.c +++ b/discover/platform.c @@ -166,6 +166,7 @@ int platform_init(void *ctx) platform_ctx = talloc_new(ctx); for (p = &__start_platforms; p < &__stop_platforms; p++) { + pb_debug("%s: Try platform %s\n", __func__, (*p)->name); if (!(*p)->probe(*p, platform_ctx)) continue; platform = *p; |