scripts/tags.sh: add regex to map kprobe helpers
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Thu, 18 Feb 2016 15:26:31 +0000 (20:56 +0530)
committerMichal Marek <mmarek@suse.com>
Thu, 18 Feb 2016 19:56:37 +0000 (20:56 +0100)
Add regex for [get|free]_[insn|optinsn|dmainsn]_slot() functions.

Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michal Marek <mmarek@suse.com>
scripts/tags.sh

index 23ba1c6..f72f48f 100755 (executable)
@@ -163,6 +163,8 @@ regex_c=(
        '/^TRACE_EVENT(\([[:alnum:]_]*\).*/trace_\1_rcuidle/'
        '/^DEFINE_EVENT([^,)]*, *\([[:alnum:]_]*\).*/trace_\1/'
        '/^DEFINE_EVENT([^,)]*, *\([[:alnum:]_]*\).*/trace_\1_rcuidle/'
+       '/^DEFINE_INSN_CACHE_OPS(\([[:alnum:]_]*\).*/get_\1_slot/'
+       '/^DEFINE_INSN_CACHE_OPS(\([[:alnum:]_]*\).*/free_\1_slot/'
        '/^PAGEFLAG(\([[:alnum:]_]*\).*/Page\1/'
        '/^PAGEFLAG(\([[:alnum:]_]*\).*/SetPage\1/'
        '/^PAGEFLAG(\([[:alnum:]_]*\).*/ClearPage\1/'