On Wed, Jan 27, 2021 at 5:48 PM Chris Mi <c...@nvidia.com> wrote: > > In order to send sampled packets to userspace, NIC driver calls > psample api directly. But it creates a hard dependency on module > psample. Introduce psample_ops to remove the hard dependency. > It is initialized when psample module is loaded and set to NULL > when the module is unloaded.
Is it too crazy to just make CONFIG_PSAMPLE a bool so that it won't be a module? Thanks.