how to add script to custom tuned-adm profile?

Latest response

I'm using such tuned-adm profile:

cat /etc/tuned/myprofile/tuned.conf
[main]
include=network-latency

[bootloader]
cmdline = isolcpus=1-11 nohz_full=1-11

Now I want to add such script to this profile:
for i in pgrep rcuo ; do taskset -pc 0 $i ; done

How can I do this?

Responses