hist.c (0db64dd060f7fd77921be8f10fa9f7a5f49a3a43) | hist.c (5dfa210e407d0fedf746958bff206995bd46570d) |
---|---|
1#include <stdio.h> 2 3#include "../../util/util.h" 4#include "../../util/hist.h" 5#include "../../util/sort.h" 6#include "../../util/evsel.h" 7 8 --- 38 unchanged lines hidden (view full) --- 47 for (i = 0; i < depth; i++) { 48 if (depth_mask & (1 << i)) 49 ret += fprintf(fp, "|"); 50 else 51 ret += fprintf(fp, " "); 52 ret += fprintf(fp, " "); 53 } 54 | 1#include <stdio.h> 2 3#include "../../util/util.h" 4#include "../../util/hist.h" 5#include "../../util/sort.h" 6#include "../../util/evsel.h" 7 8 --- 38 unchanged lines hidden (view full) --- 47 for (i = 0; i < depth; i++) { 48 if (depth_mask & (1 << i)) 49 ret += fprintf(fp, "|"); 50 else 51 ret += fprintf(fp, " "); 52 ret += fprintf(fp, " "); 53 } 54 |
55 if (callchain_param.key == CCKEY_ADDRESS) { | 55 if (callchain_param.key == CCKEY_ADDRESS || 56 callchain_param.key == CCKEY_SRCLINE) { |
56 if (ilist->filename != NULL) 57 ret += fprintf(fp, "%s:%d (inline)", 58 ilist->filename, 59 ilist->line_nr); 60 else 61 ret += fprintf(fp, "??"); 62 } else if (ilist->funcname != NULL) 63 ret += fprintf(fp, "%s (inline)", --- 868 unchanged lines hidden --- | 57 if (ilist->filename != NULL) 58 ret += fprintf(fp, "%s:%d (inline)", 59 ilist->filename, 60 ilist->line_nr); 61 else 62 ret += fprintf(fp, "??"); 63 } else if (ilist->funcname != NULL) 64 ret += fprintf(fp, "%s (inline)", --- 868 unchanged lines hidden --- |