Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 338973
b: refs/heads/master
c: ff6f777
h: refs/heads/master
i:
  338971: db4e4ad
v: v3
  • Loading branch information
Namhyung Kim authored and Arnaldo Carvalho de Melo committed Nov 8, 2012
1 parent 62904a9 commit facb129
Show file tree
Hide file tree
Showing 2 changed files with 8 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: eef9ba98b9ee96f52e544b09f581c397d8cc8265
refs/heads/master: ff6f7778a66edc033044a6baa2459ce79519e571
7 changes: 7 additions & 0 deletions trunk/tools/perf/arch/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,13 @@ static int perf_session_env__lookup_binutils_path(struct perf_session_env *env,

int perf_session_env__lookup_objdump(struct perf_session_env *env)
{
/*
* For live mode, env->arch will be NULL and we can use
* the native objdump tool.
*/
if (env->arch == NULL)
return 0;

return perf_session_env__lookup_binutils_path(env, "objdump",
&objdump_path);
}

0 comments on commit facb129

Please sign in to comment.