tools/perf/util/levenshtein.h

Source file repositories/reference/linux-study-clean/tools/perf/util/levenshtein.h

File Facts

System
Linux kernel
Corpus path
tools/perf/util/levenshtein.h
Extension
.h
Size
281 bytes
Lines
10
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: implementation source
Status
source implementation candidate

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef __PERF_LEVENSHTEIN_H
#define __PERF_LEVENSHTEIN_H

int levenshtein(const char *string1, const char *string2,
	int swap_penalty, int substition_penalty,
	int insertion_penalty, int deletion_penalty);

#endif /* __PERF_LEVENSHTEIN_H */

Annotation

Implementation Notes