Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 288119
b: refs/heads/master
c: 1c1bc92
h: refs/heads/master
i:
  288117: 2d767e7
  288115: 2b55c14
  288111: c706aaa
v: v3
  • Loading branch information
Prashanth Nageshappa authored and Arnaldo Carvalho de Melo committed Feb 29, 2012
1 parent 3cf4408 commit 7a5a34e
Show file tree
Hide file tree
Showing 2 changed files with 7 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: cfbd70c17c4535e64be92ea442a2a45078a18184
refs/heads/master: 1c1bc9223387dacc48eb2b61b0baabe7e9cf47f6
6 changes: 6 additions & 0 deletions trunk/tools/perf/util/probe-event.c
Original file line number Diff line number Diff line change
Expand Up @@ -1867,6 +1867,12 @@ static int convert_to_probe_trace_events(struct perf_probe_event *pev,
tev->point.symbol);
ret = -ENOENT;
goto error;
} else if (tev->point.offset > sym->end - sym->start) {
pr_warning("Offset specified is greater than size of %s\n",
tev->point.symbol);
ret = -ENOENT;
goto error;

}

return 1;
Expand Down

0 comments on commit 7a5a34e

Please sign in to comment.