Message ID | 20190320063626.14792-2-yuehaibing@huawei.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | edc82a99437a93c36b0ae18eb6daac0097fc6bd3 |
Headers | show |
Series | minor fixes for perf cs-etm | expand |
diff --git a/tools/perf/util/cs-etm.c b/tools/perf/util/cs-etm.c index 1108049..fd7f1da 100644 --- a/tools/perf/util/cs-etm.c +++ b/tools/perf/util/cs-etm.c @@ -1908,7 +1908,7 @@ int cs_etm__process_auxtrace_info(union perf_event *event, /* Something went wrong, no need to continue */ if (!inode) { - err = PTR_ERR(inode); + err = -ENOMEM; goto err_free_metadata; }