summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorErick Archer2024-06-02 21:29:43 -0700
committerDmitry Torokhov2024-06-02 21:32:01 -0700
commitbb8706a41946d161222cdddd6b3de3025877c204 (patch)
tree0a10e7d323bf1b5313d25f2797c3880099c21af3 /tools/perf/scripts/python/stackcollapse.py
parent6c7cc1a29d1e679be4a98b01141f1ba491e5775e (diff)
Input: keyboard - use sizeof(*pointer) instead of sizeof(type)
It is preferred to use sizeof(*pointer) instead of sizeof(type) due to the type of the variable can change and one needs not change the former (unlike the latter). This patch has no effect on runtime behavior. Signed-off-by: Erick Archer <erick.archer@outlook.com> Link: https://lore.kernel.org/r/AS8PR02MB7237277464F23CA168BFB3B18BF52@AS8PR02MB7237.eurprd02.prod.outlook.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions