diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2024-10-24 21:07:09 -0400 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-24 21:07:09 -0400 | 
| commit | 274c98628f0537b1f52e828d87727729e9dc635b (patch) | |
| tree | f657ebf6ae2cb67a289d5323c4ebd87b3b5f7542 /tests/isisd | |
| parent | be3b97d9ed770d2c40bfc3ab18c27154ee8e3f2a (diff) | |
| parent | b3e400719750b4b40851be6044315b48f07722cb (diff) | |
Merge pull request #17155 from opensourcerouting/memstats-zlog
lib: `debug memstats-at-exit` improvements
Diffstat (limited to 'tests/isisd')
| -rw-r--r-- | tests/isisd/test_fuzz_isis_tlv.c | 2 | ||||
| -rw-r--r-- | tests/isisd/test_isis_spf.c | 2 | 
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/isisd/test_fuzz_isis_tlv.c b/tests/isisd/test_fuzz_isis_tlv.c index 627ccfee6f..a3acd0786f 100644 --- a/tests/isisd/test_fuzz_isis_tlv.c +++ b/tests/isisd/test_fuzz_isis_tlv.c @@ -22,7 +22,7 @@ static bool atexit_registered;  static void show_meminfo_at_exit(void)  { -	log_memstats(stderr, "isis fuzztest"); +	log_memstats(NULL, true);  }  static int comp_line(const void *p1, const void *p2) diff --git a/tests/isisd/test_isis_spf.c b/tests/isisd/test_isis_spf.c index e5a8f7a513..9c1ce3d193 100644 --- a/tests/isisd/test_isis_spf.c +++ b/tests/isisd/test_isis_spf.c @@ -475,7 +475,7 @@ static void vty_do_exit(int isexit)  	yang_terminate();  	event_master_free(master); -	log_memstats(stderr, "test-isis-spf"); +	log_memstats(NULL, true);  	if (!isexit)  		exit(0);  }  | 
