Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 288611
b: refs/heads/master
c: a844d1e
h: refs/heads/master
i:
  288609: e308edf
  288607: 3a7341b
v: v3
  • Loading branch information
Srikar Dronamraju authored and Arnaldo Carvalho de Melo committed Jan 24, 2012
1 parent 9a65d40 commit 5d8d808
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2ef1ea3826434bdebe17b2941356a8f764ff5fcd
refs/heads/master: a844d1ef09872a8b8c66d431edd1b8a943e51c7a
6 changes: 3 additions & 3 deletions trunk/tools/perf/util/probe-event.c
Original file line number Diff line number Diff line change
Expand Up @@ -1729,7 +1729,7 @@ static int __add_probe_trace_events(struct perf_probe_event *pev,
}

ret = 0;
printf("Add new event%s\n", (ntevs > 1) ? "s:" : ":");
printf("Added new event%s\n", (ntevs > 1) ? "s:" : ":");
for (i = 0; i < ntevs; i++) {
tev = &tevs[i];
if (pev->event)
Expand Down Expand Up @@ -1784,7 +1784,7 @@ static int __add_probe_trace_events(struct perf_probe_event *pev,

if (ret >= 0) {
/* Show how to use the event. */
printf("\nYou can now use it on all perf tools, such as:\n\n");
printf("\nYou can now use it in all perf tools, such as:\n\n");
printf("\tperf record -e %s:%s -aR sleep 1\n\n", tev->group,
tev->event);
}
Expand Down Expand Up @@ -1959,7 +1959,7 @@ static int __del_trace_probe_event(int fd, struct str_node *ent)
goto error;
}

printf("Remove event: %s\n", ent->s);
printf("Removed event: %s\n", ent->s);
return 0;
error:
pr_warning("Failed to delete event: %s\n", strerror(-ret));
Expand Down

0 comments on commit 5d8d808

Please sign in to comment.