aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSeongJae Park <[email protected]>2022-09-13 17:44:30 +0000
committerAndrew Morton <[email protected]>2022-10-03 14:03:10 -0700
commit02f17037fc6e38ca1c00ac87a112372a3867ba45 (patch)
treebcbe406556a42562bb411fdab90d76a44509920c /tools/perf/scripts/python/export-to-sqlite.py
parent8193321ac90d525b33815c77faae7d2d12042c03 (diff)
mm/damon/core: copy struct-to-struct instead of field-to-field in damon_new_scheme()
The function for new 'struct damos' creation, 'damon_new_scheme()', copies each field of the struct one by one, though it could simply copied via struct to struct. This commit replaces the unnecessarily verbose field-to-field copies with struct-to-struct copies to make code simple and short. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: SeongJae Park <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions