scripts.c (5c9dbe6da13398d09efc9ec479194afa6d9ec9e6) | scripts.c (f2a39fe84901df2b3d1bec3459b65cee3e8db57c) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2#include "../../builtin.h" 3#include "../../perf.h" 4#include "../../util/util.h" 5#include "../../util/hist.h" 6#include "../../util/debug.h" 7#include "../../util/symbol.h" 8#include "../browser.h" 9#include "../libslang.h" 10#include "config.h" 11#include <linux/string.h> 12#include <linux/zalloc.h> | 1// SPDX-License-Identifier: GPL-2.0 2#include "../../builtin.h" 3#include "../../perf.h" 4#include "../../util/util.h" 5#include "../../util/hist.h" 6#include "../../util/debug.h" 7#include "../../util/symbol.h" 8#include "../browser.h" 9#include "../libslang.h" 10#include "config.h" 11#include <linux/string.h> 12#include <linux/zalloc.h> |
13#include <stdlib.h> |
|
13 14#define SCRIPT_NAMELEN 128 15#define SCRIPT_MAX_NO 64 16/* 17 * Usually the full path for a script is: 18 * /home/username/libexec/perf-core/scripts/python/xxx.py 19 * /home/username/libexec/perf-core/scripts/perl/xxx.pl 20 * So 256 should be long enough to contain the full path. --- 171 unchanged lines hidden --- | 14 15#define SCRIPT_NAMELEN 128 16#define SCRIPT_MAX_NO 64 17/* 18 * Usually the full path for a script is: 19 * /home/username/libexec/perf-core/scripts/python/xxx.py 20 * /home/username/libexec/perf-core/scripts/perl/xxx.pl 21 * So 256 should be long enough to contain the full path. --- 171 unchanged lines hidden --- |