summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2026-11-04 17:17:44 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2026-11-07 17:31:25 -0300
commita1c4ec661d5a941ed827919d412963f5813b93ee (patch)
treeb0afecf71d5897387bab0ccd49a616f527273606 /tools/perf/scripts/python
parent2b81439ec96197487bb43e3377dad207a0b7912f (diff)
perf trace beauty: Split the KVM ioctl table by direction
KVM_SET_MEMORY_ATTRIBUTES2 reuses ioctl number 0xd2 with _IOWR, while KVM_SET_MEMORY_ATTRIBUTES is _IOW at the same number. The KVM table is keyed only by _IOC_NR, so both map to the same index and the generated array fails to build with -Werror=override-init. Split it the way vhost_virtio_ioctl already does: _IO/_IOW entries stay in kvm_ioctl_cmds, _IOR/_IOWR move to kvm_ioctl_read_cmds, and the lookup picks the table from the _IOC_READ bit. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions