diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-25 13:28:08 -0700 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-25 13:28:08 -0700 | 
| commit | bdc5663fa14de657f24080ee959670d49c8dd094 (patch) | |
| tree | e97fc2caa29655ae5550f2467f56b6590e85a231 /tools/perf/util/annotate.c | |
| parent | 743a7ecbe8e28d487e2573ec2b7fb1179a443717 (diff) | |
| parent | cf3b425dd8d99e01214515a6754f9e69ecc6dce8 (diff) | |
Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull perf fixes from Ingo Molnar:
 "Assorted standalone fixes"
* 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  perf/x86/intel: Add model number for Avoton Silvermont
  perf: Fix capabilities bitfield compatibility in 'struct perf_event_mmap_page'
  perf/x86/intel/uncore: Don't use smp_processor_id() in validate_group()
  perf: Update ABI comment
  tools lib lk: Uninclude linux/magic.h in debugfs.c
  perf tools: Fix old GCC build error in trace-event-parse.c:parse_proc_kallsyms()
  perf probe: Fix finder to find lines of given function
  perf session: Check for SIGINT in more loops
  perf tools: Fix compile with libelf without get_phdrnum
  perf tools: Fix buildid cache handling of kallsyms with kcore
  perf annotate: Fix objdump line parsing offset validation
  perf tools: Fill in new definitions for madvise()/mmap() flags
  perf tools: Sharpen the libaudit dependencies test
Diffstat (limited to 'tools/perf/util/annotate.c')
| -rw-r--r-- | tools/perf/util/annotate.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/tools/perf/util/annotate.c b/tools/perf/util/annotate.c index bfc5a27597d6..7eae5488ecea 100644 --- a/tools/perf/util/annotate.c +++ b/tools/perf/util/annotate.c @@ -809,7 +809,7 @@ static int symbol__parse_objdump_line(struct symbol *sym, struct map *map,  		    end = map__rip_2objdump(map, sym->end);  		offset = line_ip - start; -		if (offset < 0 || (u64)line_ip > end) +		if ((u64)line_ip < start || (u64)line_ip > end)  			offset = -1;  		else  			parsed_line = tmp2 + 1; | 
