aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMadhavan Srinivasan <[email protected]>2022-01-27 12:49:57 +0530
committerMichael Ellerman <[email protected]>2022-03-01 23:38:13 +1100
commit54d4ba7f22d1ed5bfbc915771cf2e3e147cf03b2 (patch)
tree4bfcdacce7da0e685da39b2f8d8c9649f95c83ec /tools/perf/scripts/python
parent5f6c3061af7ca3b0f9f8a20ec7a445671f7e6b5a (diff)
selftests/powerpc/pmu: Add event_init_sampling function
Extended event_init_opts() to include initialization of sampling testcases. Patch adds an event_init_sampling() wrapper to initialize event attribute fields for sampling events. This includes initializing sample period, sample type and event type. Signed-off-by: Madhavan Srinivasan <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions