Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323673
b: refs/heads/master
c: 0f75a71
h: refs/heads/master
i:
  323671: 0e6d611
v: v3
  • Loading branch information
Cody P Schafer authored and Arnaldo Carvalho de Melo committed Aug 13, 2012
1 parent f262f2b commit ddd8024
Show file tree
Hide file tree
Showing 3 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: 8db24c70ab43a4dd38c39b0b0cb4d4874257de55
refs/heads/master: 0f75a710dfd8fd5cd9e558e3f26c474c8fa63e3c
8 changes: 0 additions & 8 deletions trunk/tools/perf/util/map.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,14 +262,6 @@ u64 map__rip_2objdump(struct map *map, u64 rip)
return addr;
}

u64 map__objdump_2ip(struct map *map, u64 addr)
{
u64 ip = map->dso->adjust_symbols ?
addr :
map->unmap_ip(map, addr); /* RIP -> IP */
return ip;
}

void map_groups__init(struct map_groups *mg)
{
int i;
Expand Down
1 change: 0 additions & 1 deletion trunk/tools/perf/util/map.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ static inline u64 identity__map_ip(struct map *map __used, u64 ip)

/* rip/ip <-> addr suitable for passing to `objdump --start-address=` */
u64 map__rip_2objdump(struct map *map, u64 rip);
u64 map__objdump_2ip(struct map *map, u64 addr);

struct symbol;

Expand Down

0 comments on commit ddd8024

Please sign in to comment.