Revision f2ebf8ffe7af10bff02d34addbebd9199de65ed2 authored by Riccardo Mancini on 15 July 2021, 16:07:21 UTC, committed by Arnaldo Carvalho de Melo on 15 July 2021, 20:34:39 UTC
ASan reports several memory leaks running: # perf test "88: Check open filename arg using perf trace + vfs_getname" The second of these leaks is caused by the arg_fmt field of syscall not being deallocated. This patch adds a new function syscall__exit which is called on all syscalls.table entries in trace__exit, which will free the arg_fmt field. Signed-off-by: Riccardo Mancini <rickyman7@gmail.com> Cc: Ian Rogers <irogers@google.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lore.kernel.org/lkml/d68f25c043d30464ac9fa79c3399e18f429bca82.1626343282.git.rickyman7@gmail.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 6c7f0ab
File | Mode | Size |
---|---|---|
fc | ||
fc_frame.h | -rw-r--r-- | 7.0 KB |
fcoe_sysfs.h | -rw-r--r-- | 3.1 KB |
iscsi_if.h | -rw-r--r-- | 25.6 KB |
iscsi_proto.h | -rw-r--r-- | 15.5 KB |
iser.h | -rw-r--r-- | 2.3 KB |
libfc.h | -rw-r--r-- | 30.9 KB |
libfcoe.h | -rw-r--r-- | 13.4 KB |
libiscsi.h | -rw-r--r-- | 14.1 KB |
libiscsi_tcp.h | -rw-r--r-- | 3.8 KB |
libsas.h | -rw-r--r-- | 18.1 KB |
sas.h | -rw-r--r-- | 12.5 KB |
sas_ata.h | -rw-r--r-- | 2.1 KB |
scsi.h | -rw-r--r-- | 5.8 KB |
scsi_bsg_iscsi.h | -rw-r--r-- | 2.2 KB |
scsi_cmnd.h | -rw-r--r-- | 9.8 KB |
scsi_common.h | -rw-r--r-- | 2.3 KB |
scsi_dbg.h | -rw-r--r-- | 2.1 KB |
scsi_device.h | -rw-r--r-- | 21.3 KB |
scsi_devinfo.h | -rw-r--r-- | 3.7 KB |
scsi_dh.h | -rw-r--r-- | 2.5 KB |
scsi_driver.h | -rw-r--r-- | 897 bytes |
scsi_eh.h | -rw-r--r-- | 1.6 KB |
scsi_host.h | -rw-r--r-- | 26.9 KB |
scsi_ioctl.h | -rw-r--r-- | 1.3 KB |
scsi_proto.h | -rw-r--r-- | 10.5 KB |
scsi_request.h | -rw-r--r-- | 667 bytes |
scsi_status.h | -rw-r--r-- | 2.7 KB |
scsi_tcq.h | -rw-r--r-- | 993 bytes |
scsi_transport.h | -rw-r--r-- | 2.6 KB |
scsi_transport_fc.h | -rw-r--r-- | 28.0 KB |
scsi_transport_iscsi.h | -rw-r--r-- | 17.2 KB |
scsi_transport_sas.h | -rw-r--r-- | 6.8 KB |
scsi_transport_spi.h | -rw-r--r-- | 6.5 KB |
scsi_transport_srp.h | -rw-r--r-- | 4.8 KB |
scsicam.h | -rw-r--r-- | 636 bytes |
sg.h | -rw-r--r-- | 14.8 KB |
srp.h | -rw-r--r-- | 6.9 KB |
viosrp.h | -rw-r--r-- | 5.4 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...