[PATCH 4/8] perf scripting python: Add function to get a config value