Fix bug#4353 makeProfilingChart is not defined

Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>