€•{Œsphinx.addnodes”Œdocument”“”)�”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)�”}”(hhh]”(hŒ pending_xref”“”)�”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…”�”}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ'/translations/zh_CN/dev-tools/propeller”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)�”}”(hhh]”hŒChinese (Traditional)”…”�”}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ'/translations/zh_TW/dev-tools/propeller”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒItalian”…”�”}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ'/translations/it_IT/dev-tools/propeller”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒJapanese”…”�”}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ'/translations/ja_JP/dev-tools/propeller”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒKorean”…”�”}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ'/translations/ko_KR/dev-tools/propeller”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒPortuguese (Brazilian)”…”�”}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ'/translations/pt_BR/dev-tools/propeller”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒSpanish”…”�”}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ'/translations/sp_SP/dev-tools/propeller”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒcomment”“”)�”}”(hŒ SPDX-License-Identifier: GPL-2.0”h]”hŒ SPDX-License-Identifier: GPL-2.0”…”�”}”hh·sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1hµhhh²hh³ŒA/var/lib/git/docbuild/linux/Documentation/dev-tools/propeller.rst”h´KubhŒsection”“”)�”}”(hhh]”(hŒtitle”“”)�”}”(hŒ%Using Propeller with the Linux kernel”h]”hŒ%Using Propeller with the Linux kernel”…”�”}”(hhÏh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhhÊh²hh³hÇh´KubhŒ paragraph”“”)�”}”(hXÅThis enables Propeller build support for the kernel when using Clang compiler. Propeller is a profile-guided optimization (PGO) method used to optimize binary executables. Like AutoFDO, it utilizes hardware sampling to gather information about the frequency of execution of different code paths within a binary. Unlike AutoFDO, this information is then used right before linking phase to optimize (among others) block layout within and across functions.”h]”hXÅThis enables Propeller build support for the kernel when using Clang compiler. Propeller is a profile-guided optimization (PGO) method used to optimize binary executables. Like AutoFDO, it utilizes hardware sampling to gather information about the frequency of execution of different code paths within a binary. Unlike AutoFDO, this information is then used right before linking phase to optimize (among others) block layout within and across functions.”…”�”}”(hhßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hİh³hÇh´KhhÊh²hubhŞ)�”}”(hŒhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj�h²hh³hÇh´Nubeh}”(h]”h ]”h"]”h$]”h&]”j}j~jhj€j�uh1hûhhÊh²hh³hÇh´K&ubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ Preparation”h]”hŒ Preparation”…”�”}”(hj"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjh²hh³hÇh´KCubhŞ)�”}”(hŒConfigure the kernel with::”h]”hŒConfigure the kernel with:”…”�”}”(hj0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hİh³hÇh´KEhjh²hubhŒ literal_block”“”)�”}”(hŒ/CONFIG_AUTOFDO_CLANG=y CONFIG_PROPELLER_CLANG=y”h]”hŒ/CONFIG_AUTOFDO_CLANG=y CONFIG_PROPELLER_CLANG=y”…”�”}”hj@sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j>h³hÇh´KGhjh²hubeh}”(h]”Œ preparation”ah ]”h"]”Œ preparation”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´KCubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ Customization”h]”hŒ Customization”…”�”}”(hjYh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjVh²hh³hÇh´KKubhŞ)�”}”(hXThe default CONFIG_PROPELLER_CLANG setting covers kernel space objects for Propeller builds. One can, however, enable or disable Propeller build for individual files and directories by adding a line similar to the following to the respective kernel Makefile:”h]”hXThe default CONFIG_PROPELLER_CLANG setting covers kernel space objects for Propeller builds. One can, however, enable or disable Propeller build for individual files and directories by adding a line similar to the following to the respective kernel Makefile:”…”�”}”(hjgh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hİh³hÇh´KMhjVh²hubhŒ bullet_list”“”)�”}”(hhh]”(j)�”}”(hŒIFor enabling a single file (e.g. foo.o):: PROPELLER_PROFILE_foo.o := y ”h]”(hŞ)�”}”(hŒ)For enabling a single file (e.g. foo.o)::”h]”hŒ(For enabling a single file (e.g. foo.o):”…”�”}”(hj~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hİh³hÇh´KRhjzubj?)�”}”(hŒPROPELLER_PROFILE_foo.o := y”h]”hŒPROPELLER_PROFILE_foo.o := y”…”�”}”hjŒsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j>h³hÇh´KThjzubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjwh²hh³hÇh´Nubj)�”}”(hŒCFor enabling all files in one directory:: PROPELLER_PROFILE := y ”h]”(hŞ)�”}”(hŒ)For enabling all files in one directory::”h]”hŒ(For enabling all files in one directory:”…”�”}”(hj¤h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hİh³hÇh´KVhj ubj?)�”}”(hŒPROPELLER_PROFILE := y”h]”hŒPROPELLER_PROFILE := y”…”�”}”hj²sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j>h³hÇh´KXhj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjwh²hh³hÇh´Nubj)�”}”(hŒ8For disabling one file:: PROPELLER_PROFILE_foo.o := n ”h]”(hŞ)�”}”(hŒFor disabling one file::”h]”hŒFor disabling one file:”…”�”}”(hjÊh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hİh³hÇh´KZhjÆubj?)�”}”(hŒPROPELLER_PROFILE_foo.o := n”h]”hŒPROPELLER_PROFILE_foo.o := n”…”�”}”hjØsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j>h³hÇh´K\hjÆubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjwh²hh³hÇh´Nubj)�”}”(hŒFFor disabling all files in one directory:: PROPELLER__PROFILE := n ”h]”(hŞ)�”}”(hŒ*For disabling all files in one directory::”h]”hŒ)For disabling all files in one directory:”…”�”}”(hjğh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hİh³hÇh´K^hjìubj?)�”}”(hŒPROPELLER__PROFILE := n”h]”hŒPROPELLER__PROFILE := n”…”�”}”hjşsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j>h³hÇh´K`hjìubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjwh²hh³hÇh´Nubeh}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ-”uh1juh³hÇh´KRhjVh²hubeh}”(h]”Œ customization”ah ]”h"]”Œ customization”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´KKubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒWorkflow”h]”hŒWorkflow”…”�”}”(hj%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj"h²hh³hÇh´KdubhŞ)�”}”(hŒEHere is an example workflow for building an AutoFDO+Propeller kernel:”h]”hŒEHere is an example workflow for building an AutoFDO+Propeller kernel:”…”�”}”(hj3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hİh³hÇh´Kfhj"h²hubhü)�”}”(hhh]”(j)�”}”(hX1Assuming an AutoFDO profile is already collected following instructions in the AutoFDO document, build the kernel on the host machine, with AutoFDO and Propeller build configs :: CONFIG_AUTOFDO_CLANG=y CONFIG_PROPELLER_CLANG=y and :: $ make LLVM=1 CLANG_AUTOFDO_PROFILE= ”h]”(hŞ)�”}”(hŒ²Assuming an AutoFDO profile is already collected following instructions in the AutoFDO document, build the kernel on the host machine, with AutoFDO and Propeller build configs ::”h]”hŒ¯Assuming an AutoFDO profile is already collected following instructions in the AutoFDO document, build the kernel on the host machine, with AutoFDO and Propeller build configs”…”�”}”(hjHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hİh³hÇh´KhhjDubj?)�”}”(hŒ/CONFIG_AUTOFDO_CLANG=y CONFIG_PROPELLER_CLANG=y”h]”hŒ/CONFIG_AUTOFDO_CLANG=y CONFIG_PROPELLER_CLANG=y”…”�”}”hjVsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j>h³hÇh´KlhjDubhŞ)�”}”(hŒand ::”h]”hŒand”…”�”}”(hjdh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hİh³hÇh´KohjDubj?)�”}”(hŒ:$ make LLVM=1 CLANG_AUTOFDO_PROFILE=”h]”hŒ:$ make LLVM=1 CLANG_AUTOFDO_PROFILE=”…”�”}”hjrsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j>h³hÇh´KqhjDubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjAh²hh³hÇh´Nubj)�”}”(hŒ(Install the kernel on the test machine. ”h]”hŞ)�”}”(hŒ'Install the kernel on the test machine.”h]”hŒ'Install the kernel on the test machine.”…”�”}”(hjŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hİh³hÇh´Kshj†ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjAh²hh³hÇh´Nubj)�”}”(hX™Run the load tests. The '-c' option in perf specifies the sample event period. We suggest using a suitable prime number, like 500009, for this purpose. - For Intel platforms:: $ perf record -e BR_INST_RETIRED.NEAR_TAKEN:k -a -N -b -c -o -- - For AMD platforms:: $ perf record --pfm-event RETIRED_TAKEN_BRANCH_INSTRUCTIONS:k -a -N -b -c -o -- - For arm64 with SPE:: There are a few kernel features that must be enabled to collect SPE profiles on Arm. Below is a list of the required features: - CONFIG_ARM_SPE_PMU=y - CONFIG_PID_IN_CONTEXTIDR=y - kpti=off Use the following command to generate SPE perf data file:: $ perf record -e 'arm_spe_0/branch_filter=1,load_filter=0,store_filter=0/' -a -N -c --no-switch-events -o -- Note you can repeat the above steps to collect multiple s. ”h]”(hŞ)�”}”(hŒ—Run the load tests. The '-c' option in perf specifies the sample event period. We suggest using a suitable prime number, like 500009, for this purpose.”h]”hŒ›Run the load tests. The ‘-c’ option in perf specifies the sample event period. We suggest using a suitable prime number, like 500009, for this purpose.”…”�”}”(hj¢h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hİh³hÇh´Kuhj�ubjv)�”}”(hhh]”(j)�”}”(hŒwFor Intel platforms:: $ perf record -e BR_INST_RETIRED.NEAR_TAKEN:k -a -N -b -c -o -- ”h]”(hŞ)�”}”(hŒFor Intel platforms::”h]”hŒFor Intel platforms:”…”�”}”(hj·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hİh³hÇh´Kyhj³ubj?)�”}”(hŒ^$ perf record -e BR_INST_RETIRED.NEAR_TAKEN:k -a -N -b -c -o -- ”h]”hŒ^$ perf record -e BR_INST_RETIRED.NEAR_TAKEN:k -a -N -b -c -o -- ”…”�”}”hjÅsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j>h³hÇh´K{hj³ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhj°ubj)�”}”(hŒ…For AMD platforms:: $ perf record --pfm-event RETIRED_TAKEN_BRANCH_INSTRUCTIONS:k -a -N -b -c -o -- ”h]”(hŞ)�”}”(hŒFor AMD platforms::”h]”hŒFor AMD platforms:”…”�”}”(hjİh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hİh³hÇh´K}hjÙubj?)�”}”(hŒn$ perf record --pfm-event RETIRED_TAKEN_BRANCH_INSTRUCTIONS:k -a -N -b -c -o -- ”h]”hŒn$ perf record --pfm-event RETIRED_TAKEN_BRANCH_INSTRUCTIONS:k -a -N -b -c -o -- ”…”�”}”hjësbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j>h³hÇh´KhjÙubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhj°ubj)�”}”(hXèFor arm64 with SPE:: There are a few kernel features that must be enabled to collect SPE profiles on Arm. Below is a list of the required features: - CONFIG_ARM_SPE_PMU=y - CONFIG_PID_IN_CONTEXTIDR=y - kpti=off Use the following command to generate SPE perf data file:: $ perf record -e 'arm_spe_0/branch_filter=1,load_filter=0,store_filter=0/' -a -N -c --no-switch-events -o -- Note you can repeat the above steps to collect multiple s. ”h]”(hŞ)�”}”(hŒ“For arm64 with SPE:: There are a few kernel features that must be enabled to collect SPE profiles on Arm. Below is a list of the required features:”h]”hŒ“For arm64 with SPE:: There are a few kernel features that must be enabled to collect SPE profiles on Arm. Below is a list of the required features:”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hİh³hÇh´K�hjÿubhŒ block_quote”“”)�”}”(hŒ?- CONFIG_ARM_SPE_PMU=y - CONFIG_PID_IN_CONTEXTIDR=y - kpti=off ”h]”jv)�”}”(hhh]”(j)�”}”(hŒCONFIG_ARM_SPE_PMU=y”h]”hŞ)�”}”(hjh]”hŒCONFIG_ARM_SPE_PMU=y”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hİh³hÇh´K…hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubj)�”}”(hŒCONFIG_PID_IN_CONTEXTIDR=y”h]”hŞ)�”}”(hj3h]”hŒCONFIG_PID_IN_CONTEXTIDR=y”…”�”}”(hj5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hİh³hÇh´K†hj1ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubj)�”}”(hŒ kpti=off ”h]”hŞ)�”}”(hŒkpti=off”h]”hŒkpti=off”…”�”}”(hjLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hİh³hÇh´K‡hjHubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubeh}”(h]”h ]”h"]”h$]”h&]”jjuh1juh³hÇh´K…hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÇh´K…hjÿubhŞ)�”}”(hŒ:Use the following command to generate SPE perf data file::”h]”hŒ9Use the following command to generate SPE perf data file:”…”�”}”(hjlh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hİh³hÇh´K‰hjÿubj?)�”}”(hŒ‹$ perf record -e 'arm_spe_0/branch_filter=1,load_filter=0,store_filter=0/' -a -N -c --no-switch-events -o -- ”h]”hŒ‹$ perf record -e 'arm_spe_0/branch_filter=1,load_filter=0,store_filter=0/' -a -N -c --no-switch-events -o -- ”…”�”}”hjzsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j>h³hÇh´K‹hjÿubhŞ)�”}”(hŒENote you can repeat the above steps to collect multiple s.”h]”hŒENote you can repeat the above steps to collect multiple s.”…”�”}”(hjˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hİh³hÇh´K�hjÿubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhj°ubeh}”(h]”h ]”h"]”h$]”h&]”jjuh1juh³hÇh´Kyhj�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjAh²hh³Nh´Nubj)�”}”(hŒ>(Optional) Download the raw perf file(s) to the host machine. ”h]”hŞ)�”}”(hŒ=(Optional) Download the raw perf file(s) to the host machine.”h]”hŒ=(Optional) Download the raw perf file(s) to the host machine.”…”�”}”(hj¬h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hİh³hÇh´K�hj¨ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjAh²hh³hÇh´Nubj)�”}”(hXÀUse the generate_propeller_profiles tool (https://github.com/google/llvm-propeller) to generate Propeller profile. :: $ generate_propeller_profiles \ --binary= --profile= \ --format=propeller --propeller_output_module_name \ --out=_cc_profile.txt \ --propeller_symorder=_ld_profile.txt "" can be something like "/home/user/dir/any_string". This command generates a pair of Propeller profiles: "_cc_profile.txt" and "_ld_profile.txt". If there are more than 1 perf_file collected in the previous step, you can create a temp list file "" with each line containing one perf file name and run:: $ generate_propeller_profiles \ --binary= --profile=@ \ --format=propeller --propeller_output_module_name \ --out=_cc_profile.txt \ --propeller_symorder=_ld_profile.txt For arm64 SPE, add the option '--profiler=perf_spe', like:: $ generate_propeller_profiles \ --binary= --profile= \ --profiler=perf_spe \ --format=propeller --propeller_output_module_name \ --out=_cc_profile.txt \ --propeller_symorder=_ld_profile.txt ”h]”(hŞ)�”}”(hŒuUse the generate_propeller_profiles tool (https://github.com/google/llvm-propeller) to generate Propeller profile. ::”h]”(hŒ*Use the generate_propeller_profiles tool (”…”�”}”(hjÄh²hh³Nh´NubjW)�”}”(hŒ(https://github.com/google/llvm-propeller”h]”hŒ(https://github.com/google/llvm-propeller”…”�”}”(hjÌh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”jÎuh1jVhjÄubhŒ ) to generate Propeller profile.”…”�”}”(hjÄh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hİh³hÇh´K‘hjÀubj?)�”}”(hX $ generate_propeller_profiles \ --binary= --profile= \ --format=propeller --propeller_output_module_name \ --out=_cc_profile.txt \ --propeller_symorder=_ld_profile.txt”h]”hX $ generate_propeller_profiles \ --binary= --profile= \ --format=propeller --propeller_output_module_name \ --out=_cc_profile.txt \ --propeller_symorder=_ld_profile.txt”…”�”}”hjåsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j>h³hÇh´K”hjÀubhŞ)�”}”(hŒO"" can be something like "/home/user/dir/any_string".”h]”hŒW“â€� can be something like “/home/user/dir/any_stringâ€�.”…”�”}”(hjóh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hİh³hÇh´KšhjÀubhŞ)�”}”(hŒ‘This command generates a pair of Propeller profiles: "_cc_profile.txt" and "_ld_profile.txt".”h]”hŒ™This command generates a pair of Propeller profiles: “_cc_profile.txtâ€� and “_ld_profile.txtâ€�.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hİh³hÇh´KœhjÀubhŞ)�”}”(hŒ¬If there are more than 1 perf_file collected in the previous step, you can create a temp list file "" with each line containing one perf file name and run::”h]”hŒ¯If there are more than 1 perf_file collected in the previous step, you can create a temp list file “â€� with each line containing one perf file name and run:”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hİh³hÇh´K hjÀubj?)�”}”(hX$ generate_propeller_profiles \ --binary= --profile=@ \ --format=propeller --propeller_output_module_name \ --out=_cc_profile.txt \ --propeller_symorder=_ld_profile.txt”h]”hX$ generate_propeller_profiles \ --binary= --profile=@ \ --format=propeller --propeller_output_module_name \ --out=_cc_profile.txt \ --propeller_symorder=_ld_profile.txt”…”�”}”hjsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j>h³hÇh´K¤hjÀubhŞ)�”}”(hŒ;For arm64 SPE, add the option '--profiler=perf_spe', like::”h]”hŒ>For arm64 SPE, add the option ‘--profiler=perf_spe’, like:”…”�”}”(hj+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hİh³hÇh´KªhjÀubj?)�”}”(hX)$ generate_propeller_profiles \ --binary= --profile= \ --profiler=perf_spe \ --format=propeller --propeller_output_module_name \ --out=_cc_profile.txt \ --propeller_symorder=_ld_profile.txt”h]”hX)$ generate_propeller_profiles \ --binary= --profile= \ --profiler=perf_spe \ --format=propeller --propeller_output_module_name \ --out=_cc_profile.txt \ --propeller_symorder=_ld_profile.txt”…”�”}”hj9sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j>h³hÇh´K¬hjÀubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjAh²hh³hÇh´Nubj)�”}”(hŒïRebuild the kernel using the AutoFDO and Propeller profiles. :: CONFIG_AUTOFDO_CLANG=y CONFIG_PROPELLER_CLANG=y and :: $ make LLVM=1 CLANG_AUTOFDO_PROFILE= CLANG_PROPELLER_PROFILE_PREFIX=”h]”(hŞ)�”}”(hŒ?Rebuild the kernel using the AutoFDO and Propeller profiles. ::”h]”hŒh³hÇh´K¶hjMubhŞ)�”}”(hŒand ::”h]”hŒand”…”�”}”(hjmh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hİh³hÇh´K¹hjMubj?)�”}”(hŒl$ make LLVM=1 CLANG_AUTOFDO_PROFILE= CLANG_PROPELLER_PROFILE_PREFIX=”h]”hŒl$ make LLVM=1 CLANG_AUTOFDO_PROFILE= CLANG_PROPELLER_PROFILE_PREFIX=”…”�”}”hj{sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j>h³hÇh´K»hjMubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjAh²hh³hÇh´Nubeh}”(h]”h ]”h"]”h$]”h&]”j}j~jhj€Œ)”uh1hûhj"h²hh³hÇh´Khubeh}”(h]”Œworkflow”ah ]”h"]”Œworkflow”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´Kdubeh}”(h]”Œ%using-propeller-with-the-linux-kernel”ah ]”h"]”Œ%using propeller with the linux kernel”ah$]”h&]”uh1hÈhhh²hh³hÇh´Kubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”hÇuh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)�”}”(hÍNŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”Œentry”Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”jÉŒerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”hÇŒ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”Œnameids”}”(j£j jSjPjjj›j˜uŒ nametypes”}”(j£‰jS‰j‰j›‰uh}”(j hÊjPjjjVj˜j"uŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nh²hub.