Skip to content
Novus Examples
txt2.6 KB

Linux perf script — Sample Records with Call Chains (txt)

Raw perf script output — a header line per sample followed by tab-indented call-chain frames with addresses, symbols, offsets and DSO paths, samples separated by blank lines. The input side of stackcollapse, including unresolved frames a symbolizer could not name.

Preview — first 50 linestxt
checkout-api  4211 [000] 184213.552981: 1000000 cycles:u:
	    7f4a1c002e18 shop_pricing_apply+0x38 (/usr/lib/checkout-api)
	    7f4a1c002e18 shop_checkout_total+0x1c4 (/usr/lib/checkout-api)
	    7f4a1c002e18 shop_http_handle+0x92 (/usr/lib/checkout-api)
	    7f4a1c002e18 __libc_start_call_main+0x80 (/usr/lib/libc.so.6)

checkout-api  4211 [001] 184213.554023: 1000137 cycles:u:
	    7f4a1c012e18 __memmove_avx_unaligned_erms+0x1a4 (/usr/lib/libc.so.6)
	    7f4a1c012e18 shop_json_encode+0x210 (/usr/lib/checkout-api)
	    7f4a1c012e18 shop_http_handle+0x92 (/usr/lib/checkout-api)
	    7f4a1c012e18 __libc_start_call_main+0x80 (/usr/lib/libc.so.6)

checkout-api  4211 [002] 184213.555065: 1000274 cycles:u:
	    7f4a1c022e18 [unknown] ([unknown])
	    7f4a1c022e18 shop_grpc_invoke+0x44 (/usr/lib/checkout-api)
	    7f4a1c022e18 shop_http_handle+0x92 (/usr/lib/checkout-api)

checkout-api  4211 [003] 184213.556107: 1000411 cycles:u:
	    7f4a1c032e18 shop_pricing_apply+0x38 (/usr/lib/checkout-api)
	    7f4a1c032e18 shop_checkout_total+0x1c4 (/usr/lib/checkout-api)
	    7f4a1c032e18 shop_http_handle+0x92 (/usr/lib/checkout-api)
	    7f4a1c032e18 __libc_start_call_main+0x80 (/usr/lib/libc.so.6)

checkout-api  4211 [000] 184213.557149: 1000548 cycles:u:
	    7f4a1c042e18 __memmove_avx_unaligned_erms+0x1a4 (/usr/lib/libc.so.6)
	    7f4a1c042e18 shop_json_encode+0x210 (/usr/lib/checkout-api)
	    7f4a1c042e18 shop_http_handle+0x92 (/usr/lib/checkout-api)
	    7f4a1c042e18 __libc_start_call_main+0x80 (/usr/lib/libc.so.6)

checkout-api  4211 [001] 184213.558191: 1000685 cycles:u:
	    7f4a1c052e18 [unknown] ([unknown])
	    7f4a1c052e18 shop_grpc_invoke+0x44 (/usr/lib/checkout-api)
	    7f4a1c052e18 shop_http_handle+0x92 (/usr/lib/checkout-api)

checkout-api  4211 [002] 184213.559233: 1000822 cycles:u:
	    7f4a1c062e18 shop_pricing_apply+0x38 (/usr/lib/checkout-api)
	    7f4a1c062e18 shop_checkout_total+0x1c4 (/usr/lib/checkout-api)
	    7f4a1c062e18 shop_http_handle+0x92 (/usr/lib/checkout-api)
	    7f4a1c062e18 __libc_start_call_main+0x80 (/usr/lib/libc.so.6)

checkout-api  4211 [003] 184213.560275: 1000959 cycles:u:
	    7f4a1c072e18 __memmove_avx_unaligned_erms+0x1a4 (/usr/lib/libc.so.6)
	    7f4a1c072e18 shop_json_encode+0x210 (/usr/lib/checkout-api)
	    7f4a1c072e18 shop_http_handle+0x92 (/usr/lib/checkout-api)
	    7f4a1c072e18 __libc_start_call_main+0x80 (/usr/lib/libc.so.6)

checkout-api  4211 [000] 184213.561317: 1001096 cycles:u:
	    7f4a1c082e18 [unknown] ([unknown])
	    7f4a1c082e18 shop_grpc_invoke+0x44 (/usr/lib/checkout-api)
	    7f4a1c082e18 shop_http_handle+0x92 (/usr/lib/checkout-api)
51 lines total — download for the full file.

Specifications

Samples
9
Frames Per Sample
4
Event
cycles:u
Blank Line Separated
true
Unresolved Frames
3
Header Fields
comm pid [cpu] timestamp period event
Collapsible To
folded stacks

Testing contract

Reference control
Scenario
Collapse the output into folded stacks.
Expected result
Nine samples collapse to three unique stacks with correct counts, frames are reversed so the root comes first, and the [unknown] frames are preserved rather than dropping their whole stack.

What is a .txt file?

TXT is a plain-text file containing unformatted character data with no styling or structure beyond line breaks. Its interpretation depends on character encoding, most commonly UTF-8, and on line-ending convention. It is the most universal and portable text container.

How to use this file

Use an example TXT to test encoding detection, line-ending (LF versus CRLF) handling, and any tool that reads or streams raw text input.

How to use this file for testing

“Linux perf script — Sample Records with Call Chains (txt)” is a deterministic Novus Examples fixture for Observability, Performance testing, Log parsing. Structured and plain-text telemetry with known timestamps, levels, request identifiers, and error states for testing log ingestion, correlation, dashboards, and alert pipelines.

Documented properties for this file: TXT · 2,639 bytes. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

Telemetry fixtures use fixed trace IDs, span IDs, and timestamps so ingestion is reproducible run to run. Point your collector, parser, or query layer at the file and assert the documented span tree, metric families, or severity mix; service and host names are invented.

Generated by generation/observability.py. Free for any use, no attribution required — license.