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-TSAN tests succeeded Jan 7, 2025 in 0s

testlogs-TSAN 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✅ 1ms
bazel-testlogs/src/stirling/core/data_table_test/test.xml 6✅ 5s
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✅ 0ms
bazel-testlogs/src/stirling/core/pub_sub_manager_test/test.xml 2✅ 13ms
bazel-testlogs/src/stirling/core/record_builder_test/test.xml 7✅ 13ms
bazel-testlogs/src/stirling/core/source_registry_test/test.xml 1✅ 0ms
bazel-testlogs/src/stirling/core/stirling_component_test/test.xml 1✅ 2ms
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✅ 12ms
bazel-testlogs/src/stirling/source_connectors/dynamic_tracer/dynamic_tracing/autogen_test/test.xml 5✅ 1s
bazel-testlogs/src/stirling/source_connectors/dynamic_tracer/dynamic_tracing/code_gen_test/test.xml 7✅ 14ms
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✅ 10ms
bazel-testlogs/src/stirling/source_connectors/dynamic_tracer/dynamic_tracing/probe_transformer_test/test.xml 2✅ 15ms
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✅ 7ms
bazel-testlogs/src/stirling/source_connectors/socket_tracer/conn_tracker_http2_test/test.xml 9✅ 3ms
bazel-testlogs/src/stirling/source_connectors/socket_tracer/conn_tracker_test/test.xml 44✅ 9ms
bazel-testlogs/src/stirling/source_connectors/socket_tracer/conn_trackers_manager_test/test.xml 3✅ 3s
bazel-testlogs/src/stirling/source_connectors/socket_tracer/data_stream_test/test.xml 12✅ 1s
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✅ 62ms
bazel-testlogs/src/stirling/source_connectors/socket_tracer/socket_trace_protocols_test/test.xml 15✅ 723ms
bazel-testlogs/src/stirling/source_connectors/socket_tracer/uprobe_symaddrs_test/test.xml 4✅ 5s
bazel-testlogs/src/stirling/utils/monitor_test/test.xml 3✅ 5s
bazel-testlogs/src/stirling/utils/run_core_stats_test/test.xml 1✅ 0ms
bazel-testlogs/src/vizier/services/agent/pem/tracepoint_manager_test/test.xml 4✅ 14ms

✅ 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 1ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
SystemWideStandaloneContextTest 1✅ 1ms

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

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

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

✅ 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 0ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
PrintRecordBatchTest 2✅ 0ms

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

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

Test suite Passed Failed Skipped Time
PubSubManagerTest 2✅ 12ms

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

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

Test suite Passed Failed Skipped Time
DynamicRecordBuilder 3✅ 5ms
RecordBuilder 4✅ 7ms

✅ 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 2ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
SourceToTableTest 1✅ 2ms

✅ 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 12ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
DynamicTraceConnectorTest 1✅ 12ms

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

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

Test suite Passed Failed Skipped Time
AutoTraceExpansionTestSuite/AutoTraceExpansionTest 1✅ 201ms
DetectSourceLanguageTestSuite/DetectSourceLanguageTest 1✅ 193ms
ResolveProbeSymbolTest 2✅ 409ms
ResolveProbeSymbolTestSuite/ResolveProbeSymbolTest 1✅ 199ms

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

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

Test suite Passed Failed Skipped Time
GenMapStashActionTest 1✅ 0ms
GenProgramTest 1✅ 13ms
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✅ 197ms
ResolveTargetObjPathTest 6✅ 25s

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

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

Test suite Passed Failed Skipped Time
GOIDTest 2✅ 10ms

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

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

Test suite Passed Failed Skipped Time
ProbeGenTest 1✅ 10ms
ProbeGenTestSuite/ProbeGenTest 1✅ 4ms

✅ 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 7ms with 6 passed, 0 failed and 0 skipped.

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

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

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

Test suite Passed Failed Skipped Time
ConnTrackerHTTP2Test 9✅ 3ms

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

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

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

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

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

Test suite Passed Failed Skipped Time
ConnTrackerGenerationsTest 1✅ 0ms
ConnTrackersManagerTest 2✅ 3s

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

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

Test suite Passed Failed Skipped Time
DataStreamTest 12✅ 1s

✅ 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 62ms with 20 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
SocketTraceConnectorTest 20✅ 61ms

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

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

Test suite Passed Failed Skipped Time
SocketTraceConnectorTest 15✅ 723ms

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

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

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

✅ 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 0ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
RunCoreStatsTest 1✅ 0ms

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

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

Test suite Passed Failed Skipped Time
TracepointManagerTest 4✅ 14ms