diff options
author | kbroulik <kde@privat.broulik.de> | 2023-08-24 11:04:08 +0000 |
---|---|---|
committer | David Faure <faure@kde.org> | 2023-08-24 11:04:08 +0000 |
commit | a2be76fac11e446656058b99b7e99055eb2c7fd5 (patch) | |
tree | a5850fa70d7f0392ac5ea6f967b6f6bb3eed39dc | |
parent | 1931043b3896745105ea6695624b342f482c4093 (diff) |
Add perf data file type
-rw-r--r-- | data/freedesktop.org.xml.in | 7 | ||||
-rw-r--r-- | tests/mime-detection/list | 3 | ||||
-rw-r--r-- | tests/mime-detection/perf.data | bin | 0 -> 14816 bytes |
3 files changed, 10 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index 59dccbd..fb63836 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -1826,6 +1826,13 @@ command to generate the output files. <generic-icon name="package-x-generic"/> <glob pattern="*.cpio.gz"/> </mime-type> + <mime-type type="application/x-perf-data"> + <comment>Perf data</comment> + <glob pattern="perf.data" case-sensitive="true"/> + <magic priority="50"> + <match type="string" value="PERFILE2" offset="0"/> + </magic> + </mime-type> <mime-type type="application/x-csh"> <comment>C shell script</comment> <sub-class-of type="application/x-shellscript"/> diff --git a/tests/mime-detection/list b/tests/mime-detection/list index 6643c6b..49913a2 100644 --- a/tests/mime-detection/list +++ b/tests/mime-detection/list @@ -948,3 +948,6 @@ test.mrpack application/x-modrinth-modpack+zip ox # ERIS link file # https://eris.codeberg.page/eer/linkfile.xml test.eris application/x-eris-link+cbor + +# Perf Data file +perf.data application/x-perf-data diff --git a/tests/mime-detection/perf.data b/tests/mime-detection/perf.data Binary files differnew file mode 100644 index 0000000..9313397 --- /dev/null +++ b/tests/mime-detection/perf.data |