builtin-report.c (28e62b90d95a4ed8ae2ba93879003665051581a6) builtin-report.c (281ef544a8476f750b9f378593c42b3e8a0b8788)
1/*
2 * builtin-report.c
3 *
4 * Builtin report command: Analyze the perf.data input file,
5 * look up and read DSOs and symbol information and display
6 * a histogram of results, along various sorting keys.
7 */
8#include "builtin.h"

--- 662 unchanged lines hidden (view full) ---

671 * branch-mode specific order
672 */
673 if (sort_order == default_sort_order)
674 sort_order = "comm,dso_from,symbol_from,"
675 "dso_to,symbol_to";
676
677 }
678
1/*
2 * builtin-report.c
3 *
4 * Builtin report command: Analyze the perf.data input file,
5 * look up and read DSOs and symbol information and display
6 * a histogram of results, along various sorting keys.
7 */
8#include "builtin.h"

--- 662 unchanged lines hidden (view full) ---

671 * branch-mode specific order
672 */
673 if (sort_order == default_sort_order)
674 sort_order = "comm,dso_from,symbol_from,"
675 "dso_to,symbol_to";
676
677 }
678
679 if (strcmp(report.input_name, "-") != 0) {
680 if (report.use_gtk)
681 perf_gtk__setup_browser(true);
682 else
683 setup_browser(true);
684 } else {
679 if (strcmp(report.input_name, "-") != 0)
680 setup_browser(true);
681 else
685 use_browser = 0;
682 use_browser = 0;
686 }
687
688 /*
689 * Only in the newt browser we are doing integrated annotation,
690 * so don't allocate extra space that won't be used in the stdio
691 * implementation.
692 */
693 if (use_browser > 0) {
694 symbol_conf.priv_size = sizeof(struct annotation);

--- 65 unchanged lines hidden ---
683
684 /*
685 * Only in the newt browser we are doing integrated annotation,
686 * so don't allocate extra space that won't be used in the stdio
687 * implementation.
688 */
689 if (use_browser > 0) {
690 symbol_conf.priv_size = sizeof(struct annotation);

--- 65 unchanged lines hidden ---