diff options
author | 2021-10-19 15:26:17 +0100 | |
---|---|---|
committer | 2021-10-27 13:40:13 +0200 | |
commit | c666d447e091be3a742588b49290e7733115769f (patch) | |
tree | 2632182a178bcbb3cbc694de8a0d71a52ae7d444 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | Linux 5.15-rc1 (diff) | |
download | wireguard-linux-c666d447e091be3a742588b49290e7733115769f.tar.xz wireguard-linux-c666d447e091be3a742588b49290e7733115769f.zip |
test_printf: Make pft array const
Instead of assigning ptf[i].value, leave the values in the on-stack
array and then we can make the array const.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Yafang Shao <laoar.shao@gmail.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20211019142621.2810043-2-willy@infradead.org
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions