Allow profiler to be extend, for per repo configuration.

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
Remove unused variable.

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
Merge branch '2.0'