3 echo "/* Automatically generated by $0 */
10 static struct cmdname_help common_cmds[] = {"
12 sed -n -e 's/^perf-\([^ ]*\)[ ].* common.*/\1/p' command-list.txt |
17 /^NAME/,/perf-'"$cmd"'/H
20 s/.*perf-'"$cmd"' - \(.*\)/ {"'"$cmd"'", "\1"},/
22 }' "Documentation/perf-$cmd.txt"
25 echo "#ifdef HAVE_LIBELF_SUPPORT"
26 sed -n -e 's/^perf-\([^ ]*\)[ ].* full.*/\1/p' command-list.txt |
31 /^NAME/,/perf-'"$cmd"'/H
34 s/.*perf-'"$cmd"' - \(.*\)/ {"'"$cmd"'", "\1"},/
36 }' "Documentation/perf-$cmd.txt"
38 echo "#endif /* HAVE_LIBELF_SUPPORT */"
40 echo "#ifdef HAVE_LIBAUDIT_SUPPORT"
41 sed -n -e 's/^perf-\([^ ]*\)[ ].* audit*/\1/p' command-list.txt |
46 /^NAME/,/perf-'"$cmd"'/H
49 s/.*perf-'"$cmd"' - \(.*\)/ {"'"$cmd"'", "\1"},/
51 }' "Documentation/perf-$cmd.txt"
53 echo "#endif /* HAVE_LIBELF_SUPPORT */"
This page took 0.030783 seconds and 5 git commands to generate.