Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205409
b: refs/heads/master
c: 9da79ab
h: refs/heads/master
i:
  205407: 49d684a
v: v3
  • Loading branch information
Srikar Dronamraju authored and Arnaldo Carvalho de Melo committed Aug 4, 2010
1 parent 24e0102 commit 9f57c82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b83f920e179101a54721e5ab1d6c3edfb9d4bcbb
refs/heads/master: 9da79ab83ee33ddc1fdd0858fd3d70925a1bde99
3 changes: 3 additions & 0 deletions trunk/kernel/trace/trace_kprobe.c
Original file line number Diff line number Diff line change
Expand Up @@ -925,14 +925,17 @@ static int create_trace_probe(int argc, char **argv)
pr_info("Delete command needs an event name.\n");
return -EINVAL;
}
mutex_lock(&probe_lock);
tp = find_probe_event(event, group);
if (!tp) {
mutex_unlock(&probe_lock);
pr_info("Event %s/%s doesn't exist.\n", group, event);
return -ENOENT;
}
/* delete an event */
unregister_trace_probe(tp);
free_trace_probe(tp);
mutex_unlock(&probe_lock);
return 0;
}

Expand Down

0 comments on commit 9f57c82

Please sign in to comment.