]> git.puffer.fish Git - mirror/frr.git/commitdiff
pimd: Make some not very needed debugs more restrictive 15130/head
authorDonald Sharp <sharpd@nvidia.com>
Wed, 10 Jan 2024 21:00:33 +0000 (16:00 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Thu, 11 Jan 2024 16:50:52 +0000 (11:50 -0500)
When turning on debug pim trace, there are lots of messages
surrounding the timing of rpf lookup.  99% of the time
no-one cares about these anymore.  Let's make them
not seen unless we turn up debugs

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
pimd/pim_rp.c
pimd/pim_rpf.c

index c7516242f5ca3482deeba0b924799e592c0d92b6..d8d25712a30ffefb44b6392a93d6ef95e06d6732 100644 (file)
@@ -248,7 +248,7 @@ struct rp_info *pim_rp_find_match_group(struct pim_instance *pim,
        }
 
        rp_info = rn->info;
-       if (PIM_DEBUG_PIM_TRACE) {
+       if (PIM_DEBUG_PIM_TRACE_DETAIL) {
                if (best)
                        zlog_debug(
                                "Lookedup(%pFX): prefix_list match %s, rn %p found: %pFX",
index b17ae3131f025e213a9cfd2e548622b31daa53a0..d18ec4943a94e1ec466a421ccaa3602e2864ac2d 100644 (file)
@@ -32,7 +32,7 @@ static pim_addr pim_rpf_find_rpf_addr(struct pim_upstream *up);
 void pim_rpf_set_refresh_time(struct pim_instance *pim)
 {
        pim->last_route_change_time = pim_time_monotonic_usec();
-       if (PIM_DEBUG_PIM_TRACE)
+       if (PIM_DEBUG_PIM_TRACE_DETAIL)
                zlog_debug("%s: vrf(%s) New last route change time: %" PRId64,
                           __func__, pim->vrf->name,
                           pim->last_route_change_time);