DescriptionPerfProvider: Run a randomly selected perf command
Based on the CPU, select a set of perf commands to run, and put these in
a RandomSelector to choose one command at random in each instance. Call
the dbus method org.chromium.debugd.GetPerfOutput to run perf with the
command. The command set used is based on the system architecture, CPU
microarchitecture, or CPU model string.
The command set selection logic is the same as that currently used by
GetRandomPerfOutput in debugd. In the near future, this work will allow
overriding the command set used using FieldTrials and Finch.
BUG=538759
Committed: https://crrev.com/659ffbe6f46382e968a38fb336f371be737f3301
Cr-Commit-Position: refs/heads/master@{#354073}
Patch Set 1 #
Total comments: 16
Patch Set 2 : Address comments on PS1 #
Total comments: 10
Patch Set 3 : Address comments on PS2 #
Dependent Patchsets: Messages
Total messages: 11 (3 generated)
|