~ubuntu-branches/debian/experimental/linux-tools/experimental

« back to all changes in this revision

Viewing changes to tools/perf/util/generate-cmdlist.sh

  • Committer: Package Import Robot
  • Author(s): Ben Hutchings
  • Date: 2014-02-02 16:57:49 UTC
  • mfrom: (1.1.10) (0.1.21 sid)
  • Revision ID: package-import@ubuntu.com-20140202165749-tw94o9t1t0a8txk6
Tags: 3.13-1~exp2
Merge changes from sid up to 3.12.6-3

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
     }' "Documentation/perf-$cmd.txt"
23
23
done
24
24
 
25
 
echo "#ifdef LIBELF_SUPPORT"
 
25
echo "#ifdef HAVE_LIBELF_SUPPORT"
26
26
sed -n -e 's/^perf-\([^         ]*\)[   ].* full.*/\1/p' command-list.txt |
27
27
sort |
28
28
while read cmd
35
35
            p
36
36
     }' "Documentation/perf-$cmd.txt"
37
37
done
38
 
echo "#endif /* LIBELF_SUPPORT */"
 
38
echo "#endif /* HAVE_LIBELF_SUPPORT */"
39
39
echo "};"