mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
Merge branch 'tip/perf/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace into perf/core
This commit is contained in:
commit
177e2163fe
2 changed files with 52 additions and 10 deletions
|
|
@ -1956,8 +1956,10 @@ static int __del_trace_probe_event(int fd, struct str_node *ent)
|
|||
|
||||
pr_debug("Writing event: %s\n", buf);
|
||||
ret = write(fd, buf, strlen(buf));
|
||||
if (ret < 0)
|
||||
if (ret < 0) {
|
||||
ret = -errno;
|
||||
goto error;
|
||||
}
|
||||
|
||||
printf("Remove event: %s\n", ent->s);
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue