aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorIlpo Järvinen <[email protected]>2023-12-15 17:05:02 +0200
committerShuah Khan <[email protected]>2024-02-13 13:56:44 -0700
commit038ce802e248a985150156da84bc3f118236b898 (patch)
tree8e69b70a6825521285d83d29b8ef6ba43846c024 /net/lapb/lapb_subr.c
parentb6e6a582f2b357b6f74849b715de12cc38b1ee91 (diff)
selftests/resctrl: Improve perf init
struct perf_event_attr initialization is spread into perf_event_initialize() and perf_event_attr_initialize() and setting ->config is hardcoded by the deepest level. perf_event_attr init belongs to perf_event_attr_initialize() so move it entirely there. Rename the other function perf_event_initialized_read_format(). Call each init function directly from the test as they will take different parameters (especially true after the perf related global variables are moved to local variables). Signed-off-by: Ilpo Järvinen <[email protected]> Reviewed-by: Reinette Chatre <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions