[PATCH v3 3/7] perf scripting python: Add function to get a config value