~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/tools/perf/Documentation/asciidoc.conf

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 ## linkperf: macro
  2 #
  3 # Usage: linkperf:command[manpage-section]
  4 #
  5 # Note, {0} is the manpage section, while {target} is the command.
  6 #
  7 # Show PERF link as: <command>(<section>); if section is defined, else just show
  8 # the command.
  9 
 10 [macros]
 11 (?su)[\\]?(?P<name>linkperf):(?P<target>\S*?)\[(?P<attrlist>.*?)\]=
 12 
 13 [attributes]
 14 asterisk=&#42;
 15 plus=&#43;
 16 caret=&#94;
 17 startsb=&#91;
 18 endsb=&#93;
 19 tilde=&#126;
 20 
 21 ifdef::backend-docbook[]
 22 [linkperf-inlinemacro]
 23 {0%{target}}
 24 {0#<citerefentry>}
 25 {0#<refentrytitle>{target}</refentrytitle><manvolnum>{0}</manvolnum>}
 26 {0#</citerefentry>}
 27 endif::backend-docbook[]
 28 
 29 ifdef::backend-docbook[]
 30 ifndef::perf-asciidoc-no-roff[]
 31 # "unbreak" docbook-xsl v1.68 for manpages. v1.69 works with or without this.
 32 # v1.72 breaks with this because it replaces dots not in roff requests.
 33 [listingblock]
 34 <example><title>{title}</title>
 35 <literallayout>
 36 ifdef::doctype-manpage[]
 37 &#10;.ft C&#10;
 38 endif::doctype-manpage[]
 39 |
 40 ifdef::doctype-manpage[]
 41 &#10;.ft&#10;
 42 endif::doctype-manpage[]
 43 </literallayout>
 44 {title#}</example>
 45 endif::perf-asciidoc-no-roff[]
 46 
 47 ifdef::perf-asciidoc-no-roff[]
 48 ifdef::doctype-manpage[]
 49 # The following two small workarounds insert a simple paragraph after screen
 50 [listingblock]
 51 <example><title>{title}</title>
 52 <literallayout>
 53 |
 54 </literallayout><simpara></simpara>
 55 {title#}</example>
 56 
 57 [verseblock]
 58 <formalpara{id? id="{id}"}><title>{title}</title><para>
 59 {title%}<literallayout{id? id="{id}"}>
 60 {title#}<literallayout>
 61 |
 62 </literallayout>
 63 {title#}</para></formalpara>
 64 {title%}<simpara></simpara>
 65 endif::doctype-manpage[]
 66 endif::perf-asciidoc-no-roff[]
 67 endif::backend-docbook[]
 68 
 69 ifdef::doctype-manpage[]
 70 ifdef::backend-docbook[]
 71 [header]
 72 template::[header-declarations]
 73 <refentry>
 74 ifdef::perf_date[]
 75 <refentryinfo><date>{perf_date}</date></refentryinfo>
 76 endif::perf_date[]
 77 <refmeta>
 78 <refentrytitle>{mantitle}</refentrytitle>
 79 <manvolnum>{manvolnum}</manvolnum>
 80 <refmiscinfo class="source">perf</refmiscinfo>
 81 <refmiscinfo class="version">{perf_version}</refmiscinfo>
 82 <refmiscinfo class="manual">perf Manual</refmiscinfo>
 83 </refmeta>
 84 <refnamediv>
 85   <refname>{manname}</refname>
 86   <refpurpose>{manpurpose}</refpurpose>
 87 </refnamediv>
 88 endif::backend-docbook[]
 89 endif::doctype-manpage[]
 90 
 91 ifdef::backend-xhtml11[]
 92 [linkperf-inlinemacro]
 93 <a href="{target}.html">{target}{0?({0})}</a>
 94 endif::backend-xhtml11[]

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php