mirror of
https://github.com/torvalds/linux.git
synced 2026-08-04 14:27:00 +02:00
Provide ratio-to-prev term which allows the user to set the event sample period of two events corresponding to a desired ratio. If using on an Intel x86 platform with Auto Counter Reload support, also set corresponding event's config2 attribute with a bitmask which counters to reset and which counters to sample if the desired ratio is met or exceeded. On other platforms, only the sample period is affected by the ratio-to-prev term. Reviewed-by: Ian Rogers <irogers@google.com> Signed-off-by: Thomas Falcon <thomas.falcon@intel.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Dapeng Mi <dapeng1.mi@linux.intel.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Kan Liang <kan.liang@linux.intel.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> |
||
|---|---|---|
| .. | ||
| archinsn.c | ||
| auxtrace.c | ||
| Build | ||
| cpuid.h | ||
| event.c | ||
| evlist.c | ||
| evsel.c | ||
| evsel.h | ||
| header.c | ||
| intel-bts.c | ||
| intel-pt.c | ||
| iostat.c | ||
| kvm-stat.c | ||
| machine.c | ||
| mem-events.c | ||
| mem-events.h | ||
| perf_regs.c | ||
| pmu.c | ||
| topdown.c | ||
| topdown.h | ||
| tsc.c | ||
| unwind-libdw.c | ||
| unwind-libunwind.c | ||