diff options
| author | Madhavan Srinivasan <maddy@linux.ibm.com> | 2022-01-27 12:49:57 +0530 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-03-01 23:38:13 +1100 |
| commit | 54d4ba7f22d1ed5bfbc915771cf2e3e147cf03b2 (patch) | |
| tree | 4bfcdacce7da0e685da39b2f8d8c9649f95c83ec /net/lapb/lapb_subr.c | |
| parent | 5f6c3061af7ca3b0f9f8a20ec7a445671f7e6b5a (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 <maddy@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220127072012.662451-6-kjain@linux.ibm.com
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions
