LEFT | RIGHT |
1 /* Dump a gcov file, for debugging use. | 1 /* Dump a gcov file, for debugging use. |
2 Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, | 2 Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, |
3 2012 Free Software Foundation, Inc. | 3 2012 Free Software Foundation, Inc. |
4 Contributed by Nathan Sidwell <nathan@codesourcery.com> | 4 Contributed by Nathan Sidwell <nathan@codesourcery.com> |
5 | 5 |
6 Gcov is free software; you can redistribute it and/or modify | 6 Gcov is free software; you can redistribute it and/or modify |
7 it under the terms of the GNU General Public License as published by | 7 it under the terms of the GNU General Public License as published by |
8 the Free Software Foundation; either version 3, or (at your option) | 8 the Free Software Foundation; either version 3, or (at your option) |
9 any later version. | 9 any later version. |
10 | 10 |
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
590 print_branch_mispredict_line (stdout, &brm_info, no_newline); | 590 print_branch_mispredict_line (stdout, &brm_info, no_newline); |
591 } | 591 } |
592 | 592 |
593 static void | 593 static void |
594 tag_pmu_string_table_entry (const char *filename ATTRIBUTE_UNUSED, | 594 tag_pmu_string_table_entry (const char *filename ATTRIBUTE_UNUSED, |
595 unsigned tag ATTRIBUTE_UNUSED, unsigned length) | 595 unsigned tag ATTRIBUTE_UNUSED, unsigned length) |
596 { | 596 { |
597 gcov_pmu_st_entry_t st_entry; | 597 gcov_pmu_st_entry_t st_entry; |
598 gcov_read_pmu_string_table_entry(&st_entry, length); | 598 gcov_read_pmu_string_table_entry(&st_entry, length); |
599 print_pmu_string_table_entry(stdout, &st_entry, no_newline); | 599 print_pmu_string_table_entry(stdout, &st_entry, no_newline); |
600 free(st_entry.filename); | 600 free(st_entry.str); |
601 } | 601 } |
602 | 602 |
603 /* Read gcov tag GCOV_TAG_PMU_TOOL_HEADER from the gcda file and print | 603 /* Read gcov tag GCOV_TAG_PMU_TOOL_HEADER from the gcda file and print |
604 the contents in a human readable form. */ | 604 the contents in a human readable form. */ |
605 | 605 |
606 static void | 606 static void |
607 tag_pmu_tool_header (const char *filename ATTRIBUTE_UNUSED, | 607 tag_pmu_tool_header (const char *filename ATTRIBUTE_UNUSED, |
608 unsigned tag ATTRIBUTE_UNUSED, unsigned length) | 608 unsigned tag ATTRIBUTE_UNUSED, unsigned length) |
609 { | 609 { |
610 gcov_pmu_tool_header_t tool_header; | 610 gcov_pmu_tool_header_t tool_header; |
611 gcov_read_pmu_tool_header (&tool_header, length); | 611 gcov_read_pmu_tool_header (&tool_header, length); |
612 print_pmu_tool_header (stdout, &tool_header, no_newline); | 612 print_pmu_tool_header (stdout, &tool_header, no_newline); |
613 destroy_pmu_tool_header (&tool_header); | 613 destroy_pmu_tool_header (&tool_header); |
614 } | 614 } |
LEFT | RIGHT |