Skip to content

[tcp_stats] Use kfuncs to probe the tcp_sendmsg function #2255

[tcp_stats] Use kfuncs to probe the tcp_sendmsg function

[tcp_stats] Use kfuncs to probe the tcp_sendmsg function #2255

GitHub Actions / testlogs-ASAN tests succeeded Jan 7, 2025 in 1s

testlogs-ASAN tests ✅

Tests passed successfully

Report Passed Failed Skipped Time
bazel-testlogs/src/stirling/bpf_tools/macros_test/test.xml 1✅ 0ms
bazel-testlogs/src/stirling/core/connector_context_test/test.xml 1✅ 2ms
bazel-testlogs/src/stirling/core/data_table_test/test.xml 6✅ 6s
bazel-testlogs/src/stirling/core/frequency_manager_test/test.xml 2✅ 0ms
bazel-testlogs/src/stirling/core/info_class_manager_test/test.xml 1✅ 0ms
bazel-testlogs/src/stirling/core/output_test/test.xml 2✅ 1ms
bazel-testlogs/src/stirling/core/pub_sub_manager_test/test.xml 2✅ 16ms
bazel-testlogs/src/stirling/core/record_builder_test/test.xml 7✅ 2s
bazel-testlogs/src/stirling/core/source_registry_test/test.xml 1✅ 0ms
bazel-testlogs/src/stirling/core/stirling_component_test/test.xml 1✅ 1ms
bazel-testlogs/src/stirling/core/types_test/test.xml 3✅ 0ms
bazel-testlogs/src/stirling/source_connectors/dynamic_tracer/dynamic_trace_connector_test/test.xml 1✅ 20ms
bazel-testlogs/src/stirling/source_connectors/dynamic_tracer/dynamic_tracing/autogen_test/test.xml 5✅ 2s
bazel-testlogs/src/stirling/source_connectors/dynamic_tracer/dynamic_tracing/code_gen_test/test.xml 7✅ 16ms
bazel-testlogs/src/stirling/source_connectors/dynamic_tracer/dynamic_tracing/dwarvifier_test/test.xml 8✅ 2s
bazel-testlogs/src/stirling/source_connectors/dynamic_tracer/dynamic_tracing/dynamic_tracer_test/test.xml 7✅ 25s
bazel-testlogs/src/stirling/source_connectors/dynamic_tracer/dynamic_tracing/goid_test/test.xml 2✅ 14ms
bazel-testlogs/src/stirling/source_connectors/dynamic_tracer/dynamic_tracing/probe_transformer_test/test.xml 2✅ 26ms
bazel-testlogs/src/stirling/source_connectors/jvm_stats/jvm_stats_connector_test/test.xml 1✅ 4s
bazel-testlogs/src/stirling/source_connectors/perf_profiler/java/demangle_test/test.xml 1✅ 0ms
bazel-testlogs/src/stirling/source_connectors/perf_profiler/stack_trace_id_cache_test/test.xml 1✅ 0ms
bazel-testlogs/src/stirling/source_connectors/perf_profiler/symbol_cache/symbol_cache_test/test.xml 2✅ 0ms
bazel-testlogs/src/stirling/source_connectors/socket_tracer/conn_stats_test/test.xml 6✅ 8ms
bazel-testlogs/src/stirling/source_connectors/socket_tracer/conn_tracker_http2_test/test.xml 9✅ 6ms
bazel-testlogs/src/stirling/source_connectors/socket_tracer/conn_tracker_test/test.xml 44✅ 14ms
bazel-testlogs/src/stirling/source_connectors/socket_tracer/conn_trackers_manager_test/test.xml 3✅ 4s
bazel-testlogs/src/stirling/source_connectors/socket_tracer/data_stream_test/test.xml 12✅ 2s
bazel-testlogs/src/stirling/source_connectors/socket_tracer/fd_resolver_test/test.xml 5✅ 0ms
bazel-testlogs/src/stirling/source_connectors/socket_tracer/protocols/dns/stitcher_test/test.xml 2✅ 1ms
bazel-testlogs/src/stirling/source_connectors/socket_tracer/socket_trace_connector_test/test.xml 20✅ 105ms
bazel-testlogs/src/stirling/source_connectors/socket_tracer/socket_trace_protocols_test/test.xml 15✅ 931ms
bazel-testlogs/src/stirling/source_connectors/socket_tracer/uprobe_symaddrs_test/test.xml 4✅ 4s
bazel-testlogs/src/stirling/utils/monitor_test/test.xml 3✅ 5s
bazel-testlogs/src/stirling/utils/run_core_stats_test/test.xml 1✅ 1ms
bazel-testlogs/src/vizier/services/agent/pem/tracepoint_manager_test/test.xml 4✅ 31ms

✅ bazel-testlogs/src/stirling/bpf_tools/macros_test/test.xml

1 tests were completed in 0ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CCResourceTest 1✅ 0ms

✅ bazel-testlogs/src/stirling/core/connector_context_test/test.xml

1 tests were completed in 2ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
SystemWideStandaloneContextTest 1✅ 2ms

✅ bazel-testlogs/src/stirling/core/data_table_test/test.xml

6 tests were completed in 6s with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
DataTableStressTest 1✅ 6s
DataTableTest 5✅ 3ms

✅ bazel-testlogs/src/stirling/core/frequency_manager_test/test.xml

2 tests were completed in 0ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
FrequencyManagerTest 2✅ 0ms

✅ bazel-testlogs/src/stirling/core/info_class_manager_test/test.xml

1 tests were completed in 0ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
InfoClassInfoSchemaTest 1✅ 0ms

✅ bazel-testlogs/src/stirling/core/output_test/test.xml

2 tests were completed in 1ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
PrintRecordBatchTest 2✅ 1ms

✅ bazel-testlogs/src/stirling/core/pub_sub_manager_test/test.xml

2 tests were completed in 16ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
PubSubManagerTest 2✅ 16ms

✅ bazel-testlogs/src/stirling/core/record_builder_test/test.xml

7 tests were completed in 2s with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
DynamicRecordBuilder 3✅ 712ms
RecordBuilder 4✅ 852ms

✅ bazel-testlogs/src/stirling/core/source_registry_test/test.xml

1 tests were completed in 0ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
SourceRegistryTest 1✅ 0ms

✅ bazel-testlogs/src/stirling/core/stirling_component_test/test.xml

1 tests were completed in 1ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
SourceToTableTest 1✅ 1ms

✅ bazel-testlogs/src/stirling/core/types_test/test.xml

3 tests were completed in 0ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
DataElementTest 1✅ 0ms
DataTableSchemaTest 1✅ 0ms
DynamicDataTableSchemaTest 1✅ 0ms

✅ bazel-testlogs/src/stirling/source_connectors/dynamic_tracer/dynamic_trace_connector_test/test.xml

1 tests were completed in 20ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
DynamicTraceConnectorTest 1✅ 20ms

✅ bazel-testlogs/src/stirling/source_connectors/dynamic_tracer/dynamic_tracing/autogen_test/test.xml

5 tests were completed in 2s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
AutoTraceExpansionTestSuite/AutoTraceExpansionTest 1✅ 307ms
DetectSourceLanguageTestSuite/DetectSourceLanguageTest 1✅ 314ms
ResolveProbeSymbolTest 2✅ 650ms
ResolveProbeSymbolTestSuite/ResolveProbeSymbolTest 1✅ 313ms

✅ bazel-testlogs/src/stirling/source_connectors/dynamic_tracer/dynamic_tracing/code_gen_test/test.xml

7 tests were completed in 16ms with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
GenMapStashActionTest 1✅ 0ms
GenProgramTest 1✅ 14ms
GenStructTest 1✅ 0ms
GenStructVariableTest 1✅ 0ms
GenVariableTest 3✅ 0ms

✅ bazel-testlogs/src/stirling/source_connectors/dynamic_tracer/dynamic_tracing/dwarvifier_test/test.xml

8 tests were completed in 2s with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
DwarfInfoTestSuite/DwarfInfoTest 8✅ 2s

✅ bazel-testlogs/src/stirling/source_connectors/dynamic_tracer/dynamic_tracing/dynamic_tracer_test/test.xml

7 tests were completed in 25s with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
DynamicTracerTest 1✅ 176ms
ResolveTargetObjPathTest 6✅ 25s

✅ bazel-testlogs/src/stirling/source_connectors/dynamic_tracer/dynamic_tracing/goid_test/test.xml

2 tests were completed in 14ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
GOIDTest 2✅ 14ms

✅ bazel-testlogs/src/stirling/source_connectors/dynamic_tracer/dynamic_tracing/probe_transformer_test/test.xml

2 tests were completed in 26ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ProbeGenTest 1✅ 19ms
ProbeGenTestSuite/ProbeGenTest 1✅ 6ms

✅ bazel-testlogs/src/stirling/source_connectors/jvm_stats/jvm_stats_connector_test/test.xml

1 tests were completed in 4s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
JVMStatsConnectorTest 1✅ 4s

✅ bazel-testlogs/src/stirling/source_connectors/perf_profiler/java/demangle_test/test.xml

1 tests were completed in 0ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
JavaDemangleTest 1✅ 0ms

✅ bazel-testlogs/src/stirling/source_connectors/perf_profiler/stack_trace_id_cache_test/test.xml

1 tests were completed in 0ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
StackTraceIDCache 1✅ 0ms

✅ bazel-testlogs/src/stirling/source_connectors/perf_profiler/symbol_cache/symbol_cache_test/test.xml

2 tests were completed in 0ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
SymbolCacheTest 2✅ 0ms

✅ bazel-testlogs/src/stirling/source_connectors/socket_tracer/conn_stats_test/test.xml

6 tests were completed in 8ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ConnStatsTest 5✅ 8ms
HashTest 1✅ 0ms

✅ bazel-testlogs/src/stirling/source_connectors/socket_tracer/conn_tracker_http2_test/test.xml

9 tests were completed in 6ms with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ConnTrackerHTTP2Test 9✅ 5ms

✅ bazel-testlogs/src/stirling/source_connectors/socket_tracer/conn_tracker_test/test.xml

44 tests were completed in 14ms with 44 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
AllProtocols/ConnTrackerUpdateStateTest 22✅ 0ms
ConnTrackerTest 22✅ 13ms

✅ bazel-testlogs/src/stirling/source_connectors/socket_tracer/conn_trackers_manager_test/test.xml

3 tests were completed in 4s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ConnTrackerGenerationsTest 1✅ 5ms
ConnTrackersManagerTest 2✅ 4s

✅ bazel-testlogs/src/stirling/source_connectors/socket_tracer/data_stream_test/test.xml

12 tests were completed in 2s with 12 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
DataStreamTest 12✅ 2s

✅ bazel-testlogs/src/stirling/source_connectors/socket_tracer/fd_resolver_test/test.xml

5 tests were completed in 0ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
FDResolverTest 5✅ 0ms

✅ bazel-testlogs/src/stirling/source_connectors/socket_tracer/protocols/dns/stitcher_test/test.xml

2 tests were completed in 1ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
DnsStitcherTest 2✅ 1ms

✅ bazel-testlogs/src/stirling/source_connectors/socket_tracer/socket_trace_connector_test/test.xml

20 tests were completed in 105ms with 20 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
SocketTraceConnectorTest 20✅ 105ms

✅ bazel-testlogs/src/stirling/source_connectors/socket_tracer/socket_trace_protocols_test/test.xml

15 tests were completed in 931ms with 15 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
SocketTraceConnectorTest 15✅ 931ms

✅ bazel-testlogs/src/stirling/source_connectors/socket_tracer/uprobe_symaddrs_test/test.xml

4 tests were completed in 4s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
UprobeSymaddrsNodeTest 1✅ 1ms
UprobeSymaddrsTest 3✅ 4s

✅ bazel-testlogs/src/stirling/utils/monitor_test/test.xml

3 tests were completed in 5s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
MonitorTest 3✅ 5s

✅ bazel-testlogs/src/stirling/utils/run_core_stats_test/test.xml

1 tests were completed in 1ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
RunCoreStatsTest 1✅ 1ms

✅ bazel-testlogs/src/vizier/services/agent/pem/tracepoint_manager_test/test.xml

4 tests were completed in 31ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
TracepointManagerTest 4✅ 31ms