Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
b10b1b7
Modernize traffic_top UI with btop-style layout and graphs
bryancall Dec 11, 2025
fc53e26
Add gold tests for traffic_top batch mode
bryancall Dec 11, 2025
c04c75c
Enhance traffic_top with Performance page, colors, and auto-mode swit…
bryancall Dec 12, 2025
fb055c4
Change initial display timeout from 100ms to 1 second
bryancall Dec 12, 2025
8e8926c
traffic_top: fix ssl_handshake_fail metric and test binary discovery
bryancall Dec 12, 2025
0e96017
traffic_top: replace ink_assert with graceful error handling
bryancall Dec 12, 2025
df78441
traffic_top: replace goto with running flag for clean exit
bryancall Dec 12, 2025
fe6f988
traffic_top: add explicit SIGWINCH handler for window resize
bryancall Dec 12, 2025
b21b341
traffic_top: replace magic numbers with named constants
bryancall Dec 12, 2025
14e14af
traffic_top: add stat lookup table validation at startup
bryancall Dec 12, 2025
e588389
traffic_top: update help page with all keyboard shortcuts
bryancall Dec 12, 2025
819b936
traffic_top: move <chrono> include from header to implementation
bryancall Dec 12, 2025
5e07e7c
traffic_top: add comprehensive code documentation
bryancall Dec 12, 2025
0caf377
traffic_top: remove duplicate stats from 120x40 and 160x40 layouts
bryancall Dec 12, 2025
719824f
traffic_top: remove btop references from comments
bryancall Dec 15, 2025
a207170
traffic_top: remove ncurses dependency
bryancall Dec 15, 2025
795adf2
traffic_top: add Apache license headers to Python files
bryancall Dec 15, 2025
4feef98
Fix FreeBSD build: add missing <clocale> include
bryancall Dec 15, 2025
20169c8
Fix unused variable warnings in Display.cc
bryancall Dec 15, 2025
8e2e8af
Fix stat value display to use rounding instead of truncation
bryancall Dec 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions src/traffic_top/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,14 @@
#
#######################

add_executable(traffic_top traffic_top.cc ${CMAKE_SOURCE_DIR}/src/shared/rpc/IPCSocketClient.cc)
target_include_directories(traffic_top PRIVATE ${CURSES_INCLUDE_DIRS})
target_link_libraries(traffic_top PRIVATE ts::tscore ts::inkevent libswoc::libswoc ${CURSES_LIBRARIES})
add_executable(
traffic_top traffic_top.cc Stats.cc Display.cc Output.cc ${CMAKE_SOURCE_DIR}/src/shared/rpc/IPCSocketClient.cc
)

target_include_directories(traffic_top PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})

target_link_libraries(traffic_top PRIVATE ts::tscore ts::inkevent libswoc::libswoc)

install(TARGETS traffic_top)

clang_tidy_check(traffic_top)
Loading