Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205283
b: refs/heads/master
c: 830f4c8
h: refs/heads/master
i:
  205281: c79485b
  205279: 90c2a02
v: v3
  • Loading branch information
Gui Jianfeng authored and Arnaldo Carvalho de Melo committed Jun 25, 2010
1 parent 121e5cd commit 98ff0f6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 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: 9f61d85fd0fe91f9a17a9f304d67e55f8ae38b2e
refs/heads/master: 830f4c803196eec181e209110885c4ac130f3805
9 changes: 0 additions & 9 deletions trunk/tools/perf/builtin-record.c
Original file line number Diff line number Diff line change
Expand Up @@ -445,8 +445,6 @@ static void atexit_header(void)
static void event__synthesize_guest_os(struct machine *machine, void *data)
{
int err;
char *guest_kallsyms;
char path[PATH_MAX];
struct perf_session *psession = data;

if (machine__is_host(machine))
Expand All @@ -466,13 +464,6 @@ static void event__synthesize_guest_os(struct machine *machine, void *data)
pr_err("Couldn't record guest kernel [%d]'s reference"
" relocation symbol.\n", machine->pid);

if (machine__is_default_guest(machine))
guest_kallsyms = (char *) symbol_conf.default_guest_kallsyms;
else {
sprintf(path, "%s/proc/kallsyms", machine->root_dir);
guest_kallsyms = path;
}

/*
* We use _stext for guest kernel because guest kernel's /proc/kallsyms
* have no _text sometimes.
Expand Down

0 comments on commit 98ff0f6

Please sign in to comment.