[all-commits] [llvm/llvm-project] 8c0090: [llvm]Add a simple Telemetry framework (#102323)

Vy Nguyen via All-commits all-commits at lists.llvm.org
Fri Dec 20 08:05:17 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8c0090030bf89df7e0dbe5827a83d52627b2c87f
      https://github.com/llvm/llvm-project/commit/8c0090030bf89df7e0dbe5827a83d52627b2c87f
  Author: Vy Nguyen <vyng at google.com>
  Date:   2024-12-20 (Fri, 20 Dec 2024)

  Changed paths:
    A llvm/docs/Telemetry.rst
    M llvm/docs/UserGuides.rst
    A llvm/docs/llvm_telemetry_design.png
    A llvm/include/llvm/Telemetry/Telemetry.h
    M llvm/lib/CMakeLists.txt
    A llvm/lib/Telemetry/CMakeLists.txt
    A llvm/lib/Telemetry/Telemetry.cpp
    M llvm/unittests/CMakeLists.txt
    A llvm/unittests/Telemetry/CMakeLists.txt
    A llvm/unittests/Telemetry/TelemetryTest.cpp

  Log Message:
  -----------
  [llvm]Add a simple Telemetry framework (#102323)

Objective:

- Provide a common framework in LLVM for collecting various usage
metrics
-  Characteristics: 
  -   Extensible and configurable by: 
    -  tools in LLVM that want to use it 
    -  vendors in their downstream codebase 
    -  tools users (as allowed by vendor)


Background:
The framework was originally proposed only for LLDB, but there were
quite a few requests  to move it to llvm/lib given telemetry
is a common use case in a lot of tools, not just LLDB.

See more details on the design and discussions here on the RFC:
https://discourse.llvm.org/t/rfc-lldb-telemetry-metrics/64588/20?u=oontvoo

---------

Co-authored-by: Alina Sbirlea <alina.g.simion at gmail.com>
Co-authored-by: James Henderson <James.Henderson at sony.com>
Co-authored-by: Pavel Labath <pavel at labath.sk>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list