summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2022-11-16 11:31:10 +0100
committerJiri Kosina <jkosina@suse.cz>2022-11-16 23:00:20 +0100
commit576e619ba4a47329bf55ada2d184e72529793fbd (patch)
treee7685947bf39519162c650de69e2cd5060f46acb /tools/perf/scripts/python/export-to-postgresql.py
parentdfae6bec7100ca21a5753a03b09a81174a4e7ba0 (diff)
HID: bpf: return non NULL data pointer when CONFIG_HID_BPF is not set
dispatch_hid_bpf_device_event() is supposed to return either an error, or a valid pointer to memory containing the data. Returning NULL simply makes a segfault when CONFIG_HID_BPF is not set for any processed event. Fixes: 658ee5a64fcfbbf ("HID: bpf: allocate data memory for device_event BPF program") Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions