profilers: add param to limite log size

Signed-off-by: Xu Tian <xutian@redhat.com>