diff options
| author | Adrian Hunter <[email protected]> | 2021-04-30 10:03:01 +0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-05-12 12:43:10 -0300 |
| commit | 2a525f6a5502bfd80568e6befb84053cf650ad25 (patch) | |
| tree | 6b2bdf6fbde7501965a097302c91545deb421bf2 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | e9d64739635f8db204c9fc81f20ed70751b4e0dd (diff) | |
perf inject: Add facility to do in place update
When there is a need to modify only timestamps, it is much simpler and
quicker to do it to the existing file rather than re-write all the
contents.
In preparation for that, add the ability to modify the input file in place.
In practice that just means making the file descriptor and mmaps writable.
Signed-off-by: Adrian Hunter <[email protected]>
Reviewed-by: Andi Kleen <[email protected]>
Cc: Jiri Olsa <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions