3 Commits
Author SHA1 Message Date
Claudio DeSouza 6aa4733469 ProfilerThreadType moved to sampling_profile
This only affects the namespace access.

Chromium change:
https://chromium.googlesource.com/chromium/src/+/5ec7e7fc25007e705382dd8e58a031410ab77e98

commit 5ec7e7fc25007e705382dd8e58a031410ab77e98
Author: Jason Chase <chasej@chromium.org>
Date:   Thu Sep 26 02:38:49 2024 +0000

    Move CallStackProfileParams into //components/sampling_profiler

    - Continues the refactoring in https://docs.google.com/document/d/12pqVqIpLb5qxmm9T9qatbVcp5UnietMcpByUc0XPfYE/edit?usp=sharing
    - From a previous CL [1], it was determined that //base should not be
      aware of specific process/thread/trigger types.
    - Moves the struct/enums into //components/sampling_profiler, with the
      other ThreadProfiler logic.

    [1] https://chromium-review.googlesource.com/c/chromium/src/+/5738660/comment/7228f393_53cf2a32/

    Low-Coverage-Reason: TRIVIAL_CHANGE to ios/chrome/browser/web/model/ios_thread_profiler.cc, with no-op moves of struct and enum to different header files.
    Bug: 354124876
2024-10-24 12:14:29 +01:00
Claudio DeSouza f3f1c59adf Use base::ProfilerThreadType
`metrics::CallStackProfileParams::Thread` has been changed into
`base::ProfilerThreadType`. This has no functional effect, and it is
merely a namespace movement.

Chromium change:
https://chromium.googlesource.com/chromium/src/+/1e3019857591c2a4a8bc814cab8af3d32ed2be3e

commit 1e3019857591c2a4a8bc814cab8af3d32ed2be3e
Author: Jason Chase <chasej@chromium.org>
Date:   Fri Jul 26 19:03:58 2024 +0000

    Move CallStackProfileParams into //base/profiler

    - First step in the refactoring for crbug.com/354124876. See:
    https://docs.google.com/document/d/12pqVqIpLb5qxmm9T9qatbVcp5UnietMcpByUc0XPfYE/edit?usp=sharing
    - Rename the Process|Thread enums to Profiler[Process|Thread]Type and
      extract into a separate file, as part of the move. These enums are
      nested in a struct, but many references don't use the containing
      struct.

    Low-Coverage-Reason: TRIVIAL_CHANGE to ios/chrome/browser/web/model/ios_thread_profiler.cc, with moving struct and enum to different header files.
    Bug: 354124876
2024-09-10 14:42:25 -04:00
Aleksey Khoroshilov d0c6a77773 Disable thread profilers. 2023-03-23 21:53:04 +07:00