aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorMasahiro Yamada <[email protected]>2023-04-07 10:16:28 +0000
committerMasahiro Yamada <[email protected]>2023-04-16 08:38:16 +0000
commitf8d94c4e403c89ec6b09ba69f65e4547ba99dd07 (patch)
treecfba1d66d47a15c1b294fa0af164102db5f7b781 /tools/perf/scripts/python/net_dropmonitor.py
parentkbuild: merge cmd_archive_linux and cmd_archive_perf (diff)
downloadkernel-f8d94c4e403c89ec6b09ba69f65e4547ba99dd07.tar.gz
kernel-f8d94c4e403c89ec6b09ba69f65e4547ba99dd07.zip
kbuild: do not create intermediate *.tar for source tarballs
Since commit 05e96e96a315 ("kbuild: use git-archive for source package creation"), a source tarball is created in two steps; create *.tar file then compress it. I split the compression as a separate rule because I just thought 'git archive' supported only gzip. For other compression algorithms, I could pipe the two commands: $ git archive HEAD | xz > linux.tar.xz I read git-archive(1) carefully, and I realized GIT had provided a more elegant way: $ git -c tar.tar.xz.command=xz archive -o linux.tar.xz HEAD This commit uses 'tar.tar.*.command' configuration to specify the compression backend so we can compress a source tarball on-the-fly. GIT commit 767cf4579f0e ("archive: implement configurable tar filters") is more than a decade old, so it should be available on almost all build environments. Signed-off-by: Masahiro Yamada <[email protected]> Reviewed-by: Nathan Chancellor <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions