feat(pack): 提供文本 Ftrace 类型化 Parquet Provider - #231
Open
qiqingzhixin wants to merge 30 commits into
Open
Conversation
🤖 AI[100%] 🔧 Human Fixed[0%] 🧑 Human[0%] 👌 AI Adopted[15%] Co-authored-by: codex (gpt-5.6-sol) <ai@local>
Refs #226 🤖 AI[100%] 🔧 Human Fixed[0%] 🧑 Human[0%] 👌 AI Adopted[88%] Co-authored-by: codex (gpt-5.6-sol) <ai@local>
Refs #226 🤖 AI[100%] 🔧 Human Fixed[0%] 🧑 Human[0%] 👌 AI Adopted[19%] Co-authored-by: codex (gpt-5.6-sol) <ai@local>
🤖 AI[100%] 🔧 Human Fixed[0%] 🧑 Human[0%] 👌 AI Adopted[11%] Co-authored-by: codex (gpt-5.6-sol) <ai@local>
🤖 AI[100%] 🔧 Human Fixed[0%] 🧑 Human[0%] 👌 AI Adopted[30%] Co-authored-by: codex (gpt-5.6-sol) <ai@local>
🤖 AI[100%] 🔧 Human Fixed[0%] 🧑 Human[0%] 👌 AI Adopted[54%] Co-authored-by: codex (gpt-5.6-sol) <ai@local>
🤖 AI[100%] 🔧 Human Fixed[0%] 🧑 Human[0%] 👌 AI Adopted[5%] Co-authored-by: codex (gpt-5.6-sol) <ai@local>
🤖 AI[100%] 🔧 Human Fixed[0%] 🧑 Human[0%] 👌 AI Adopted[4%] Co-authored-by: codex (gpt-5.6-sol) <ai@local>
🤖 AI[100%] 🔧 Human Fixed[0%] 🧑 Human[0%] 👌 AI Adopted[13%] Co-authored-by: codex (gpt-5.6-sol) <ai@local>
🤖 AI[100%] 🔧 Human Fixed[0%] 🧑 Human[0%] 👌 AI Adopted[72%] Co-authored-by: codex (gpt-5.6-sol) <ai@local>
🤖 AI[100%] 🔧 Human Fixed[0%] 🧑 Human[0%] 👌 AI Adopted[14%] Co-authored-by: codex (gpt-5.6-sol) <ai@local>
🤖 AI[100%] 🔧 Human Fixed[0%] 🧑 Human[0%] 👌 AI Adopted[100%] Co-authored-by: codex (gpt-5.6-sol) <ai@local>
🤖 AI[100%] 🔧 Human Fixed[0%] 🧑 Human[0%] 👌 AI Adopted[100%] Co-authored-by: codex (gpt-5.6-sol) <ai@local>
🤖 AI[100%] 🔧 Human Fixed[0%] 🧑 Human[0%] 👌 AI Adopted[100%] Co-authored-by: codex (gpt-5.6-sol) <ai@local>
🤖 AI[100%] 🔧 Human Fixed[0%] 🧑 Human[0%] 👌 AI Adopted[100%] Co-authored-by: codex (gpt-5.6-sol) <ai@local>
🤖 AI[0%] 🔧 Human Fixed[0%] 🧑 Human[0%] 👌 AI Adopted[0%]
🤖 AI[100%] 🔧 Human Fixed[0%] 🧑 Human[0%] 👌 AI Adopted[100%] Co-authored-by: codex (gpt-5.6-sol) <ai@local>
🤖 AI[100%] 🔧 Human Fixed[0%] 🧑 Human[0%] 👌 AI Adopted[100%] Co-authored-by: codex (gpt-5.6-sol) <ai@local>
🤖 AI[100%] 🔧 Human Fixed[0%] 🧑 Human[0%] 👌 AI Adopted[100%] Co-authored-by: codex (gpt-5.6-sol) <ai@local>
🤖 AI[100%] 🔧 Human Fixed[0%] 🧑 Human[0%] 👌 AI Adopted[100%] Co-authored-by: codex (gpt-5.6-sol) <ai@local>
🤖 AI[31%] 🔧 Human Fixed[0%] 🧑 Human[69%] 👌 AI Adopted[100%]
🤖 AI[100%] 🔧 Human Fixed[0%] 🧑 Human[0%] 👌 AI Adopted[100%] Co-authored-by: codex (gpt-5.6-sol) <ai@local>
…pr1' into codex/issue-226-postgresql-pr2-rework # Conflicts: # docs/sdd/2026-08-28-pack-datasource-toolkit.md
🤖 AI[100%] 🔧 Human Fixed[0%] 🧑 Human[0%] 👌 AI Adopted[100%] Co-authored-by: codex (gpt-5.6-sol) <ai@local>
…o-parquet # Conflicts: # Cargo.toml
qiqingzhixin
changed the base branch from
main
to
codex/issue-226-postgresql-pr2
August 31, 2026 02:17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
关联
依赖:#229
Refs #219、#217
Closes #230
结果
提供文本 Ftrace 的完整 PACK Provider 纵向切片:独立 Rust
ftrace2parquet把未压缩 UTF-8 文本转换为 Proto 派生 Parquet 表;PACK 自有Ftrace2ParquetProvider在当前 Workflow 的临时 workspace 中调用转换器、校验必需关系,并通过ds.DataFusionProvider提供query() -> ds.Table。交付内容
ftrace2parquet --input <trace.ftrace> --output <directory> --clock-domain <name>。sched_switch、sched_wakeup、sched_wakeup_new、tracing_mark_write。source_event_sequence间隙,但不发布无类型载荷。text_ftrace_header、text_ftrace_event_occurrence、text_ftrace_event,以及来源实际出现的类型化 payload 关系。ftrace2parquet-provider:KAT_FTRACE2PARQUET_EXECUTABLE取得部署提供的转换器;query()eager 返回与进程和 Parquet reader 生命周期脱离的ds.Table。summarize-ftraceWorkflow,发布来源事件数、已支持事件数、tracer 和 CPU 数。架构边界
验证证据
cargo +stable test --locked -p ftrace2parquet:8 passed。kat test --pack-dir examples/packs/ftrace2parquet-provider:9 passed。cargo +stable test --locked -p kat-cli --lib:53 passed。source_event_count=5、supported_event_count=4、cpu_count=4。cargo +stable fmt --all -- --check:通过。git diff --check:通过。仓库锁定的 Rust 1.95.0 在当前镜像返回 404;本地验证使用已安装的 Rust 1.97.1,未修改
rust-toolchain.toml。