On 07/24, Kui-Feng Lee wrote: > > > On 7/24/24 08:26, Stanislav Fomichev wrote: > > On 07/23, Kui-Feng Lee wrote: > > > Enable traffic monitoring for the test case tc_redirect/tc_redirect_dtime. > > > > Alternatively, we might extend test_progs to have some new generic > > arg to enable trafficmon for a given set of tests (and then pass this > > flag in the CI): > > > > ./test_progs --traffic_monitor=t1,t2,t3... > > > > Might be useful in case we need to debug some other test in the future. > > We run a few test cases with network namespaces. So we need to > specify namespaces to monitor. And, these namespaces are not created > yet when a test starts. To adapt this approach, these test cases should > be changed to use a generic way that create network namespaces when > a test starts. > > Or, we just monitor default network namespace. For test cases with > network namespaces, they need to call these functions. > > WDYT? Ah, true, in this case ignore me :-)