diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-04-20 09:00:56 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-20 11:36:48 -0400 |
commit | 0780060124011b94af55830939c86cc0916be0f5 (patch) | |
tree | 883a4d0ed69862ab49e6d4bf4e19debafeb5c48c /Documentation/perf_counter/levenshtein.h | |
parent | d24e473e5b2ca86d1288b9416227ccc603313d0f (diff) |
perf_counter tools: add in basic glue from Git
First very raw version at having a central 'perf' command and
a list of subcommands:
perf top
perf stat
perf record
perf report
...
This is done by picking up Git's collection of utility functions,
and hacking them to build fine in this new environment.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Documentation/perf_counter/levenshtein.h')
-rw-r--r-- | Documentation/perf_counter/levenshtein.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/perf_counter/levenshtein.h b/Documentation/perf_counter/levenshtein.h new file mode 100644 index 000000000000..0173abeef52c --- /dev/null +++ b/Documentation/perf_counter/levenshtein.h | |||
@@ -0,0 +1,8 @@ | |||
1 | #ifndef LEVENSHTEIN_H | ||
2 | #define LEVENSHTEIN_H | ||
3 | |||
4 | int levenshtein(const char *string1, const char *string2, | ||
5 | int swap_penalty, int substition_penalty, | ||
6 | int insertion_penalty, int deletion_penalty); | ||
7 | |||
8 | #endif | ||