Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 180549
b: refs/heads/master
c: 7fbfc68
h: refs/heads/master
i:
  180547: 0fccf48
v: v3
  • Loading branch information
Anton Blanchard authored and Ingo Molnar committed Feb 9, 2010
1 parent 95916d6 commit 75d7cf6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: cd757645fbdc34a8343c04bb0e74e06fccc2cb10
refs/heads/master: 7fbfc683f1cc4051aa095ebe48d9d1e8b015682d
4 changes: 2 additions & 2 deletions trunk/tools/perf/util/event.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,10 +295,10 @@ void thread__find_addr_location(struct thread *self,
al->thread = self;
al->addr = addr;

if (cpumode & PERF_RECORD_MISC_KERNEL) {
if (cpumode == PERF_RECORD_MISC_KERNEL) {
al->level = 'k';
mg = &session->kmaps;
} else if (cpumode & PERF_RECORD_MISC_USER)
} else if (cpumode == PERF_RECORD_MISC_USER)
al->level = '.';
else {
al->level = 'H';
Expand Down

0 comments on commit 75d7cf6

Please sign in to comment.