hists.c (0d3eb0b7783f1ee6d3314f101b9cbfb988020222) | hists.c (5dfa210e407d0fedf746958bff206995bd46570d) |
---|---|
1#include <stdio.h> 2#include <stdlib.h> 3#include <string.h> 4#include <linux/rbtree.h> 5 6#include "../../util/evsel.h" 7#include "../../util/evlist.h" 8#include "../../util/hist.h" --- 837 unchanged lines hidden (view full) --- 846 first_row = row; 847 width = browser->b.width - (LEVEL_OFFSET_STEP + 2); 848 list_for_each_entry(ilist, &node->val, list) { 849 if ((ilist->filename != NULL) || (ilist->funcname != NULL)) { 850 color = HE_COLORSET_NORMAL; 851 if (ui_browser__is_current_entry(&browser->b, row)) 852 color = HE_COLORSET_SELECTED; 853 | 1#include <stdio.h> 2#include <stdlib.h> 3#include <string.h> 4#include <linux/rbtree.h> 5 6#include "../../util/evsel.h" 7#include "../../util/evlist.h" 8#include "../../util/hist.h" --- 837 unchanged lines hidden (view full) --- 846 first_row = row; 847 width = browser->b.width - (LEVEL_OFFSET_STEP + 2); 848 list_for_each_entry(ilist, &node->val, list) { 849 if ((ilist->filename != NULL) || (ilist->funcname != NULL)) { 850 color = HE_COLORSET_NORMAL; 851 if (ui_browser__is_current_entry(&browser->b, row)) 852 color = HE_COLORSET_SELECTED; 853 |
854 if (callchain_param.key == CCKEY_ADDRESS) { | 854 if (callchain_param.key == CCKEY_ADDRESS || 855 callchain_param.key == CCKEY_SRCLINE) { |
855 if (ilist->filename != NULL) 856 scnprintf(buf, sizeof(buf), 857 "%s:%d (inline)", 858 ilist->filename, 859 ilist->line_nr); 860 else 861 scnprintf(buf, sizeof(buf), "??"); 862 } else if (ilist->funcname != NULL) --- 2635 unchanged lines hidden --- | 856 if (ilist->filename != NULL) 857 scnprintf(buf, sizeof(buf), 858 "%s:%d (inline)", 859 ilist->filename, 860 ilist->line_nr); 861 else 862 scnprintf(buf, sizeof(buf), "??"); 863 } else if (ilist->funcname != NULL) --- 2635 unchanged lines hidden --- |