perf record: Just use "cycles:P" as the default event
authorNamhyung Kim <namhyung@kernel.org>
Wed, 16 Oct 2024 06:23:58 +0000 (23:23 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Tue, 22 Oct 2024 16:55:08 +0000 (09:55 -0700)
commit634d36f82517eb5c6a9b9ec7fe3ba19dbbcb7809
tree56b7a7dab3c6776e967e67a3c4cf887a1736018b
parentaf954f76eea56453713ae657f6812d4063f9bc57
perf record: Just use "cycles:P" as the default event

The fallback logic can add ":u" modifier if needed.

Reviewed-by: Ian Rogers <irogers@google.com>
Reviewed-by: James Clark <james.clark@linaro.org>
Reviewed-by: Ravi Bangoria <ravi.bangoria@amd.com>
Acked-by: Kan Liang <kan.liang@linux.intel.com>
Cc: James Clark <james.clark@arm.com>
Cc: Atish Patra <atishp@atishpatra.org>
Cc: Mingwei Zhang <mizhang@google.com>
Cc: Kajol Jain <kjain@linux.ibm.com>
Cc: Thomas Richter <tmricht@linux.ibm.com>
Cc: Palmer Dabbelt <palmer@rivosinc.com>
Link: https://lore.kernel.org/r/20241016062359.264929-9-namhyung@kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/builtin-record.c