diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2019-09-23 19:22:22 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-09-25 12:51:48 +0000 |
| commit | 26049111c333fda4194e895f4cb719766b602256 (patch) | |
| tree | a0ff9fdff2045849537f168c502c053868db35fd /tools/perf/util/python.c | |
| parent | libperf: Move 'page_size' global variable to libperf (diff) | |
| download | kernel-26049111c333fda4194e895f4cb719766b602256.tar.gz kernel-26049111c333fda4194e895f4cb719766b602256.zip | |
perf tools: No need to include internal/lib.h from util/util.h
That was done just to have users of writen() and readn(), that before
had their prototypes in util/util.h to get it without having to add an
include for internal/lib.h, but the right way is to add it and by now
all places already do it.
Fix a fallout were readlink() was used but unistd.h was being obtained
by luck thru util.h -> internal/lib.h, now to check why unistd.h is
being included there...
Cc: Adrian Hunter <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Link: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/python.c')
0 files changed, 0 insertions, 0 deletions
