-
由 Wei Li 提交于
hulk inclusion category: bugfix bugzilla: 24005 CVE: NA ------------------------------------------- In __cmd_record(), when receiving SIGINT(ctrl + c), a done flag will be set and the event list will be disabled by perf_evlist__disable() once. While in auxtrace_record.read_finish(), the related events will be enabled again, if they are continuous, the recording seems to be endless. Mark the evlist's state as terminated, preparing for the following fix. Signed-off-by: NWei Li <liwei391@huawei.com> Reviewed-by: NXuefeng Wang <wxf.wang@hisilicon.com> Reviewed-by: NTan Xiaojun <tanxiaojun@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
2f9c0452