[all-commits] [llvm/llvm-project] 930744: Add an Observer for logging actions application to...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Mon Mar 20 05:40:32 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 930744fcdad7b326dd0337622b6e8dc99efcfa60
      https://github.com/llvm/llvm-project/commit/930744fcdad7b326dd0337622b6e8dc99efcfa60
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2023-03-20 (Mon, 20 Mar 2023)

  Changed paths:
    M mlir/include/mlir/Debug/Counter.h
    A mlir/include/mlir/Debug/Observers/ActionLogging.h
    M mlir/include/mlir/Tools/mlir-opt/MlirOptMain.h
    M mlir/lib/Debug/CMakeLists.txt
    M mlir/lib/Debug/DebugCounter.cpp
    A mlir/lib/Debug/Observers/ActionLogging.cpp
    A mlir/lib/Debug/Observers/CMakeLists.txt
    M mlir/lib/Pass/Pass.cpp
    M mlir/lib/Pass/PassDetail.h
    M mlir/lib/Tools/mlir-opt/CMakeLists.txt
    M mlir/lib/Tools/mlir-opt/MlirOptMain.cpp
    A mlir/test/Pass/action-logging.mlir

  Log Message:
  -----------
  Add an Observer for logging actions application to a stream

Integrate the `tracing::ExecutionContext()` into mlir-opt with a new
--log-action-to=<file> option to demonstrate the feature.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D144813




More information about the All-commits mailing list