0

In Firefox for Android (Fennec), after each iteration i.e. opening a website from Fennec, it will auto-generate a telemetry file in your profile saved-telemetry-pings directory.

This generated file is using a random filename.

So I want to know where in the Fennec code this file is generated? I need to know to code path leading to this file generation.

Any help or code pointer will be helpful.

Paul Sweatte
  • 24,148
  • 7
  • 127
  • 265
Ravi
  • 102
  • 1
  • 1
  • 11

1 Answers1

1

/mobile/android/base/ANRReporter.java on Android and /toolkit/components/telemetry/TelemetryFile.jsm on Desktop, apparently.

Just search MXR, e.g. for all files with Telemetry in their path or files containing the saved-telemetry-pings string, (or get the sources and grep/ag/whatever over them).

There is likely a multitude of ways this code may eventually be reached, so you'll need to check what code paths you're particularly interested in yourself.

nmaier
  • 32,336
  • 5
  • 63
  • 78