perfetto icon indicating copy to clipboard operation
perfetto copied to clipboard

Config & trace proto docs are linking to non-existent pages on cs.android.com

Open cphlipot1 opened this issue 1 year ago • 2 comments

I'm seeing various links in the trace and trace config proto docs that are linking to non-existent pages, mostly for newer protobuf messages.

For example the link for https://perfetto.dev/docs/reference/trace-packet-proto#GenericKernelTaskStateEvent goes to https://cs.android.com/android/platform/superproject/main/+/main:external/perfetto/protos/perfetto/trace/generic_kernel/generic_task_state.proto which does not exist on cs.anrdoid.com, but does exist on github: https://github.com/google/perfetto/blob/8db3dfb506e35dc826eb53b3a91d73ec73c6ab71/protos/perfetto/trace/generic_kernel/generic_task_state.proto

This appear to be due to cs.android.com not have any commits newer than March 27 2025 for the perfetto repo. if that is related to to the recent to move to github, it might make sense to have all links in the docs point to github instead.

cphlipot1 avatar Jun 01 '25 01:06 cphlipot1

Thank you very much for finding this bug! We will move to depend on the cs.chromium.org, I will submit the fix

aMayzner avatar Jun 02 '25 16:06 aMayzner

This should now be fixed

LalitMaganti avatar Jun 25 '25 17:06 LalitMaganti