ends_with 2947 tools/perf/builtin-script.c str = (char *)ends_with(script_root, suffix); ends_with 3192 tools/perf/builtin-script.c return ends_with(script_path, "top") == NULL ? false : true;