/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
H A D | machine.c | 781 char *line = NULL; local 808 line_len = getline(&line, &n, file); 812 if (!line) 815 line[--line_len] = '\0'; /* \n */ 817 sep = strrchr(line, 'x'); 823 sep = strchr(line, ' '); 829 snprintf(name, sizeof(name), "[%s]", line); 836 free(line); 845 free(line);
|
H A D | probe-event.c | 466 * Show line-range always requires debuginfo to find source file and 467 * line number. 478 /* Search a line range */ 492 pr_warning("Specified source line is not found.\n"); 522 /* Skip to starting line number */ 530 for (; ln->line > l; l++) { 696 * Stuff 'lr' according to the line range described by 'arg'. 697 * The line range syntax is described by: 717 err = parse_line_num(&range, &lr->start, "start line"); 724 err = parse_line_num(&range, &lr->end, "end line"); 1239 char offs[32] = "", line[32] = "", file[32] = ""; local [all...] |
H A D | probe-event.h | 46 int line; /* Line number */ member in struct:perf_probe_point 82 int line; member in struct:line_node 89 int start; /* Start line number */ 90 int end; /* End line number */ 91 int offset; /* Start line offset */ 119 /* Command string to line-range */
|
H A D | probe-finder.c | 47 /* Add a line to line number list */ 48 static int line_list__add_line(struct list_head *head, int line) argument 53 /* Reverse search, because new line will be the last one */ 55 if (ln->line < line) { 58 } else if (ln->line == line) /* Already exist */ 64 pr_debug("line list: add a line 75 line_list__has_line(struct list_head *head, int line) argument 786 int line; member in struct:find_scope_param 875 char *line = NULL; local [all...] |
H A D | symbol.c | 450 char *line = NULL; local 466 line_len = getline(&line, &n, file); 467 if (line_len < 0 || !line) 470 line[--line_len] = '\0'; /* \n */ 472 len = hex2u64(line, &start); 478 symbol_type = line[len]; 480 symbol_name = line + len; 494 free(line); 923 char *line = NULL; local 937 line_len = getline(&line, 1428 char line[8]; local [all...] |
H A D | trace-event-parse.c | 185 char *line; local 191 line = strtok_r(file, "\n", &next); 192 while (line) { 194 addr_str = strtok_r(line, " ", &fmt); 206 line = strtok_r(NULL, "\n", &next); 215 char *line; local 220 line = strtok_r(file, "\n", &next); 221 while (line) { 222 addr_str = strtok_r(line, ":", &fmt); 230 line [all...] |
H A D | util.c | 61 char *line = NULL; local 72 while (getline(&line, &n, from_fp) > 0) 73 if (fputs(line, to_fp) == EOF) 78 free(line);
|
H A D | vdso.c | 22 char line[128]; local 31 while (!found && fgets(line, sizeof(line), maps)) { 35 if (2 != sscanf(line, "%p-%p r-xp %*x %*x:%*x %*u %n", 41 if (!strncmp(&line[m], VDSO__MAP_NAME,
|
/external/lldb/include/lldb/Symbol/ |
H A D | Declaration.h | 23 /// The declarations include the file specification, line number, and 45 /// Construct with file specification, and optional line and column. 51 /// @param[in] line 52 /// The line number that describes where this was declared. Set 53 /// to zero if there is no line number information. 59 Declaration (const FileSpec& file_spec, uint32_t line = 0, uint32_t column = 0) : 61 m_line (line) 98 /// Sets the file specification to be empty, and the line and column 116 /// line number and column numbers respectively. 188 /// Get accessor for the declaration line numbe 255 SetLine(uint32_t line) argument [all...] |
H A D | LineEntry.h | 21 /// @brief A line table entry class. 66 /// list so the line entry can dump the file name (since this 70 /// If \b true, display the filename with the line entry which 98 /// line entry to the supplied stream \a s. 105 /// list so the line entry can dump the file name (since this 109 /// Returns \b true if the file and line were properly dumped, 116 /// Check if a line entry object is valid. 119 /// Returns \b true if the line entry contains a valid section 120 /// offset address, file index, and line number, \b false 147 AddressRange range; ///< The section offset address range for this line entr 149 uint32_t line; ///< The source line number, or zero if there is no line number information. member in struct:lldb_private::LineEntry [all...] |
H A D | LineTable.h | 44 /// @brief A line table class. 53 /// The compile unit to which this line table belongs. 63 /// Adds a new line entry to this line table. 65 /// All line entries are maintained in file address order. 68 /// A const reference to a new line_entry to add to this line 79 uint32_t line, 93 // inserted in this line table. 97 uint32_t line, 106 // Insert a sequence of entries into this line tabl 365 uint32_t line; ///< The source line number, or zero if there is no line number information. member in struct:lldb_private::LineTable::Entry [all...] |
/external/lldb/source/API/ |
H A D | SBCompileUnit.cpp | 103 SBCompileUnit::FindLineEntryIndex (uint32_t start_idx, uint32_t line, SBFileSpec *inline_file_spec) const argument 106 return FindLineEntryIndex (start_idx, line, inline_file_spec, exact); 110 SBCompileUnit::FindLineEntryIndex (uint32_t start_idx, uint32_t line, SBFileSpec *inline_file_spec, bool exact) const argument 125 line, 136 log->Printf ("SBCompileUnit(%p)::FindLineEntryIndex (start_idx=%u, line=%u, SBFileSpec(%p)) => NOT FOUND", 137 m_opaque_ptr, start_idx, line, inline_file_spec ? inline_file_spec->get() : NULL); 141 log->Printf ("SBCompileUnit(%p)::FindLineEntryIndex (start_idx=%u, line=%u, SBFileSpec(%p)) => %u", 142 m_opaque_ptr, start_idx, line, inline_file_spec ? inline_file_spec->get() : NULL, index);
|
H A D | SBDeclaration.cpp | 98 uint32_t line = 0; local 100 line = m_opaque_ap->GetLine(); 103 log->Printf ("SBLineEntry(%p)::GetLine () => %u", m_opaque_ap.get(), line); 105 return line; 126 SBDeclaration::SetLine (uint32_t line) argument 128 ref().SetLine(line);
|
H A D | SBLineEntry.cpp | 142 uint32_t line = 0; local 144 line = m_opaque_ap->line; 147 log->Printf ("SBLineEntry(%p)::GetLine () => %u", m_opaque_ap.get(), line); 149 return line; 170 SBLineEntry::SetLine (uint32_t line) argument 172 ref().line = line; 178 ref().line = column;
|
H A D | SBSourceManager.cpp | 52 uint32_t line, 65 line, 77 line, 130 uint32_t line, 141 line, 51 DisplaySourceLinesWithLineNumbers(const lldb_private::FileSpec &file, uint32_t line, uint32_t context_before, uint32_t context_after, const char *current_line_cstr, lldb_private::Stream *s) argument 127 DisplaySourceLinesWithLineNumbers( const SBFileSpec &file, uint32_t line, uint32_t context_before, uint32_t context_after, const char *current_line_cstr, SBStream &s ) argument
|
H A D | SBTarget.cpp | 1277 SBTarget::BreakpointCreateByLocation (const char *file, uint32_t line) argument 1279 return SBBreakpoint(BreakpointCreateByLocation (SBFileSpec (file, false), line)); 1283 SBTarget::BreakpointCreateByLocation (const SBFileSpec &sb_file_spec, uint32_t line) argument 1289 if (target_sp && line != 0) 1296 *sb_bp = target_sp->CreateBreakpoint (NULL, *sb_file_spec, line, check_inlines, skip_prologue, internal); 1308 line,
|
H A D | SBThread.cpp | 767 uint32_t line) 783 log->Printf ("SBThread(%p)::StepOverUntil (frame = SBFrame(%p): %s, file+line = %s:%u)", 787 path, line); 795 if (line == 0) 797 sb_error.SetErrorString("invalid line argument"); 815 // If we have a frame, get its line 860 line, 889 sb_error.SetErrorStringWithFormat("No line entries for %s:%u", path, line); 765 StepOverUntil(lldb::SBFrame &sb_frame, lldb::SBFileSpec &sb_file_spec, uint32_t line) argument
|
/external/lldb/source/Commands/ |
H A D | CommandObjectTarget.cpp | 1387 strm << "No line table"; 1818 uint32_t line, 1825 const uint32_t num_matches = module->ResolveSymbolContextsForFileSpec(file_spec, line, check_inlines, 1832 if (line > 0) 1833 strm.Printf (":%u", line); 2433 // Image debug line table dumping command 2441 "target modules dump line-table", 2442 "Dump the line table for one or more compilation units.", 2530 "target modules dump [symtab|sections|symfile|line-table] [<file1> <file2> ...]") 2535 LoadSubCommand ("line 1814 LookupFileAndLineInModule(CommandInterpreter &interpreter, Stream &strm, Module *module, const FileSpec &file_spec, uint32_t line, bool check_inlines, bool verbose) argument [all...] |
/external/lldb/source/Core/ |
H A D | FileLineResolver.cpp | 76 // Match a specific line in a file... 93 s->Printf ("File and line resolver for file: \"%s\" line: %u", 109 uint32_t line, 113 m_line_number = line; 108 Reset(const FileSpec &file_spec, uint32_t line, bool check_inlines) argument
|
H A D | Module.cpp | 470 // Resolve the compile unit, function, block, line table or line 508 uint32_t line, 515 return ResolveSymbolContextsForFileSpec (file_spec, line, check_inlines, resolve_scope, sc_list); 519 Module::ResolveSymbolContextsForFileSpec (const FileSpec &file_spec, uint32_t line, bool check_inlines, uint32_t resolve_scope, SymbolContextList& sc_list) argument 525 line, 533 symbols->ResolveSymbolContext (file_spec, line, check_inlines, resolve_scope, sc_list); 505 ResolveSymbolContextForFilePath( const char *file_path, uint32_t line, bool check_inlines, uint32_t resolve_scope, SymbolContextList& sc_list ) argument
|
H A D | ModuleList.cpp | 776 uint32_t line, 783 return ResolveSymbolContextsForFileSpec (file_spec, line, check_inlines, resolve_scope, sc_list); 787 ModuleList::ResolveSymbolContextsForFileSpec (const FileSpec &file_spec, uint32_t line, bool check_inlines, uint32_t resolve_scope, SymbolContextList& sc_list) const argument 793 (*pos)->ResolveSymbolContextsForFileSpec (file_spec, line, check_inlines, resolve_scope, sc_list); 773 ResolveSymbolContextForFilePath( const char *file_path, uint32_t line, bool check_inlines, uint32_t resolve_scope, SymbolContextList& sc_list ) const argument
|
H A D | SourceManager.cpp | 130 for (uint32_t line = start_line; line <= end_line; ++line) 132 if (!m_last_file_sp->LineIsValid (line)) 141 uint32_t bp_count = bp_locs->NumLineEntriesWithLine (line); 151 line == curr_line ? current_line_cstr : "", 152 line); 153 size_t this_line_size = m_last_file_sp->DisplaySourceLines (line, 0, 0, s); 170 uint32_t line, 182 if (line > context_befor 167 DisplaySourceLinesWithLineNumbers( const FileSpec &file_spec, uint32_t line, uint32_t context_before, uint32_t context_after, const char* current_line_cstr, Stream *s, const SymbolContextList *bp_locs ) argument 247 SetDefaultFileAndLine(const FileSpec &file_spec, uint32_t line) argument 266 GetDefaultFileAndLine(FileSpec &file_spec, uint32_t &line) argument 419 GetLineOffset(uint32_t line) argument 436 LineIsValid(uint32_t line) argument 447 DisplaySourceLines(uint32_t line, uint32_t context_before, uint32_t context_after, Stream *s) argument 547 CalculateLineOffsets(uint32_t line) argument [all...] |
/external/lldb/source/Host/common/ |
H A D | FileSpec.cpp | 388 // trying to set a file and line breakpoint and one path 889 std::string line; local 890 while (getline (file_stream, line)) 891 lines.push_back (line);
|
/external/lldb/source/Plugins/Process/FreeBSD/ |
H A D | ProcessMonitor.cpp | 66 const char* reqName, const char* file, int line) 73 log->Printf("ptrace(%s, %lu, %p, %x) called from file %s line %d", 74 reqName, pid, addr, data, file, line); 65 PtraceWrapper(int req, lldb::pid_t pid, void *addr, int data, const char* reqName, const char* file, int line) argument
|
/external/lldb/source/Plugins/Process/Linux/ |
H A D | ProcessMonitor.cpp | 148 const char* reqName, const char* file, int line) 155 log->Printf("ptrace(%s, %lu, %p, %p, %zu) called from file %s line %d", 156 reqName, pid, addr, data, data_size, file, line); 147 PtraceWrapper(int req, lldb::pid_t pid, void *addr, void *data, size_t data_size, const char* reqName, const char* file, int line) argument
|