perf tools: Move extra string util functions to util/string2.h
Moving them from util.h, where they don't belong. Since libc already have string.h, name it slightly differently, as string2.h. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/n/tip-eh3vz5sqxsrdd8lodoro4jrw@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "../util.h"
|
||||
#include "../string2.h"
|
||||
#include "../config.h"
|
||||
#include "../../perf.h"
|
||||
#include "libslang.h"
|
||||
|
@@ -20,6 +20,7 @@
|
||||
#include "map.h"
|
||||
#include "annotate.h"
|
||||
#include "srcline.h"
|
||||
#include "string2.h"
|
||||
|
||||
#include "sane_ctype.h"
|
||||
|
||||
|
@@ -4,6 +4,7 @@
|
||||
#include "../sort.h"
|
||||
#include "../hist.h"
|
||||
#include "../helpline.h"
|
||||
#include "../string2.h"
|
||||
#include "gtk.h"
|
||||
|
||||
#define MAX_COLUMNS 32
|
||||
|
@@ -5,6 +5,7 @@
|
||||
#include "../../util/sort.h"
|
||||
#include "../../util/evsel.h"
|
||||
#include "../../util/srcline.h"
|
||||
#include "../../util/string2.h"
|
||||
#include "../../util/sane_ctype.h"
|
||||
|
||||
static size_t callchain__fprintf_left_margin(FILE *fp, int left_margin)
|
||||
|
Reference in New Issue
Block a user