Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 232298
b: refs/heads/master
c: b2f8fb2
h: refs/heads/master
v: v3
  • Loading branch information
Dr. David Alan Gilbert authored and Arnaldo Carvalho de Melo committed Jan 21, 2011
1 parent db65efd commit 5a283ed
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 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: 806839b22cbda90176d7f8d421889bddd7826e93
refs/heads/master: b2f8fb237e9cc407a02aca401369c15babae35dd
2 changes: 1 addition & 1 deletion trunk/kernel/perf_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -6136,7 +6136,7 @@ static void perf_event_exit_task_context(struct task_struct *child, int ctxn)
* scheduled, so we are now safe from rescheduling changing
* our context.
*/
child_ctx = rcu_dereference_raw(child->perf_event_ctxp[ctxn]);
child_ctx = rcu_dereference(child->perf_event_ctxp[ctxn]);
task_ctx_sched_out(child_ctx, EVENT_ALL);

/*
Expand Down
7 changes: 7 additions & 0 deletions trunk/tools/perf/util/symbol.c
Original file line number Diff line number Diff line change
Expand Up @@ -1161,6 +1161,13 @@ static int dso__load_sym(struct dso *self, struct map *map, const char *name,

section_name = elf_sec__name(&shdr, secstrs);

/* On ARM, symbols for thumb functions have 1 added to
* the symbol address as a flag - remove it */
if ((ehdr.e_machine == EM_ARM) &&
(map->type == MAP__FUNCTION) &&
(sym.st_value & 1))
--sym.st_value;

if (self->kernel != DSO_TYPE_USER || kmodule) {
char dso_name[PATH_MAX];

Expand Down

0 comments on commit 5a283ed

Please sign in to comment.