diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2021-04-30 10:03:01 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2021-05-12 12:43:10 -0300 |
commit | 2a525f6a5502bfd80568e6befb84053cf650ad25 (patch) | |
tree | 6b2bdf6fbde7501965a097302c91545deb421bf2 /lib/fdt_wip.c | |
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 <adrian.hunter@intel.com>
Reviewed-by: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: https://lore.kernel.org/r/20210430070309.17624-5-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'lib/fdt_wip.c')
0 files changed, 0 insertions, 0 deletions