aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2023-05-08 09:42:15 +0200
committerChanwoo Choi <[email protected]>2023-05-29 23:23:04 +0900
commit4a3a2c32a5ee163bc8f195b04751f165aa4d9c83 (patch)
treed4960b630a90152ae4813e125ee18cafc7071542 /tools/perf/util/scripting-engines/trace-event-python.c
parent7877cb91f1081754a1487c144d85dc0d2e2e7fc4 (diff)
PM / devfreq: Reorder fields in 'struct devfreq_dev_status'
Group some variables based on their sizes to reduce holes. On x86_64, this shrinks the size of 'struct devfreq_dev_status' from 72 to 64 bytes. This structure is used both to allocate static variables or is embedded in some other structures. In both cases, reducing its size is nice to have. Moreover, the whole structure now fits in a single cache line on x86_64. Finally, it makes the order of code match the order of the above kernel doc. Signed-off-by: Christophe JAILLET <[email protected]> Acked-by: MyungJoo Ham <[email protected]> Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions