[PATCH v2] wpa_debug: prefer tracefs over debugfs

Jouni Malinen j at w1.fi
Mon Sep 29 04:14:01 PDT 2025


On Thu, Aug 28, 2025 at 02:15:00PM +0200, Johannes Berg wrote:
> With Linux 6.17, having /sys/kernel/debug/tracing/ is
> now optional (CONFIG_TRACEFS_AUTOMOUNT_DEPRECATED),
> since tracefs has been around for a long time. Prefer
> tracefs when finding the trace_marker file.
> 
> Note the "!buf[0]" condition which serves to keep the
> logic identical to before when tracefs isn't present,
> using the first debugfs rather than the last. That is
> not likely to matter, but still.
> 
> Also mount tracefs in the scripts for running in VMs.

Thanks, applied.
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list