3 commits in previous pull request

moved define PERF_SWEVENT_MAX_FILE into perf_swevent.c from header files, it is used only in perf_swevent.c.