Searched refs:symbol (Results 1 - 23 of 23) sorted by relevance

/gem5/util/stats/
H A Dcategories.py114 def func_categorize(symbol):
116 if symbol in func_categories:
117 return func_categories[symbol]
1931 def pc_categorize(symbol):
1933 if symbol in pc_categories:
1934 return pc_categories[symbol]
1936 if regexp.match(symbol):
H A Dprofile.py92 (symbol, count) = line.split()
93 if symbol == "0x0":
98 category = categorize(symbol)
116 node.symbol = data[1]
117 if node.symbol == '':
118 node.symbol = 'unknown'
145 category = categorize(self.symbol)
155 dict[self.symbol] = dict.get(self.symbol, 0) + total
160 kids = [ child.symbol fo
[all...]
/gem5/src/unittest/
H A Dnmtest.cc46 panic("usage: %s <filename> <symbol>\n", argv[0]);
64 string symbol = argv[2]; local
67 if (symbol[0] == '0' && symbol[1] == 'x') {
68 if (to_number(symbol, address) &&
69 symtab.findSymbol(address, symbol))
70 cprintf("address = %#x, symbol = %s\n", address, symbol);
74 if (symtab.findAddress(symbol, address))
75 cprintf("symbol
[all...]
H A Dsymtest.cc43 cout << "Usage: " << progname << " <symbol file> <symbol>" << endl;
57 cout << "could not load symbol file: " << argv[1] << endl;
61 string symbol = argv[2]; local
64 if (!to_number(symbol, address)) {
65 if (!symtab.findAddress(symbol, address)) {
66 cout << "could not find symbol: " << symbol << endl;
70 cout << symbol << " -> " << "0x" << hex << address << endl;
72 if (!symtab.findSymbol(address, symbol)) {
[all...]
/gem5/src/base/loader/
H A Dsymtab.cc55 SymbolTable::insert(Addr address, string symbol) argument
57 if (symbol.empty())
60 if (!symbolTable.insert(make_pair(symbol, address)).second)
64 // update the addrTable multimap when we see a new symbol name.
65 addrTable.insert(make_pair(address, symbol));
78 fatal("file error: Can't open symbol table file %s\n", filename);
94 string symbol = buffer.substr(idx + 1);
95 eat_white(symbol);
96 if (symbol.empty())
103 if (!insert(addr, symbol))
134 std::string symbol; local
[all...]
H A Dsymtab.hh72 bool insert(Addr address, std::string symbol);
84 findSymbol(Addr address, std::string &symbol) const
92 symbol = (*i).second;
97 findAddress(const std::string &symbol, Addr &address) const argument
99 STable::const_iterator i = symbolTable.find(symbol);
107 /// Find the nearest symbol equal to or less than the supplied
110 /// @param symbol Return reference for symbol string.
111 /// @param symaddr Return reference for symbol address.
112 /// @param nextaddr Address of following symbol (fo
116 findNearestSymbol(Addr addr, std::string &symbol, Addr &symaddr, Addr &nextaddr) const argument
133 findNearestSymbol(Addr addr, std::string &symbol, Addr &symaddr) const argument
[all...]
/gem5/src/mem/slicc/symbols/
H A DSymbolTable.py76 symbol = sym_map[ident]
81 if not isinstance(symbol, types):
82 continue # there could be a name clash with other symbol
85 return symbol
89 def newMachComponentSym(self, symbol):
93 self.machine_components[str(machine)][str(symbol)] = symbol
113 def registerGlobalSym(self, ident, symbol):
116 symbol.error("Symbol '%s' redeclared in global scope." % ident)
118 self.sym_map_vec[0][ident] = symbol
[all...]
/gem5/src/cpu/
H A Dprofile.cc50 ProfileNode::dump(const string &symbol, uint64_t id, const SymbolTable *symtab, argument
53 ccprintf(os, "%#x %s %d ", id, symbol, count);
64 string symbol; local
66 symbol = "user";
68 symbol = "console";
70 symbol = "unknown";
71 else if (!symtab->findSymbol(addr, symbol))
72 panic("could not find symbol for address %#x\n", addr);
75 node->dump(symbol, (intptr_t)node, symtab, os);
132 std::string symbol; local
[all...]
H A Dprofile.hh57 void dump(const std::string &symbol, uint64_t id,
/gem5/src/arch/sparc/insts/
H A Dbranch.cc81 std::string symbol; local
89 if (symtab && symtab->findNearestSymbol(target, symbol, symbol_addr)) {
90 ccprintf(response, " <%s", symbol);
/gem5/src/arch/x86/
H A Dstacktrace.cc199 std::string symbol; local
203 symbol = "user";
205 symbol = "console";
207 symbol = "unknown";
209 symtab->findSymbol(addr, symbol);
211 DPRINTFN("%#x: %s\n", addr, symbol);
/gem5/src/mem/slicc/generate/
H A Dhtml.py30 def createSymbol(symbol, title):
34 $title: ${{formatShorthand(symbol.short)}} - ${{symbol.desc}}
/gem5/src/arch/generic/linux/
H A Dthreadinfo.hh51 get_data(const char *symbol, T &data) argument
54 if (!sys->kernelSymtab->findAddress(symbol, addr)) {
55 warn_once("Unable to find kernel symbol %s\n", symbol);
/gem5/src/arch/alpha/
H A Dstacktrace.cc175 panic("could not find symbol for pc=%#x", pc);
176 assert(pc >= addr && "symbol botch: callpc < func");
346 string symbol; local
350 symbol = "user";
352 symbol = "console";
354 symbol = "unknown";
356 symtab->findSymbol(addr, symbol);
358 DPRINTFN("%#x: %s\n", addr, symbol);
/gem5/src/sim/
H A Dpseudo_inst.cc336 fatal("file error: Can't open symbol table file %s\n", filename);
354 string symbol = buffer.substr(idx + 3); local
355 eat_white(symbol);
356 if (symbol.empty())
363 if (!tc->getSystemPtr()->kernelSymtab->insert(addr, symbol))
367 DPRINTF(Loader, "Loaded symbol: %s @ %#llx\n", symbol, addr);
380 std::string symbol; local
381 tc->getVirtProxy().readString(symbol, symbolAddr);
383 DPRINTF(Loader, "Loaded symbol
[all...]
/gem5/include/gem5/
H A Dm5ops.h64 void m5_add_symbol(uint64_t addr, char *symbol);
/gem5/ext/googletest/googlemock/scripts/
H A Dgmock_doctor.py399 gcc_regex = (_GCC_FILE_LINE_RE + r'error: \'(?P<symbol>.+)\' '
403 r'no template named) \'(?P<symbol>[^\']+)\'')
405 '%(symbol)s' is defined by Google Mock in the testing namespace.
407 using testing::%(symbol)s;
411 symbol = m.groupdict()['symbol'] variable
412 if symbol in _COMMON_GMOCK_SYMBOLS:
/gem5/src/arch/hsail/
H A Doperand.cc282 if (op->symbol) {
284 obj->getCodeSectionEntry(op->symbol);
318 (BrigDirective*)obj->getCodeSectionEntry(op->symbol);
363 // the symbol table, but now we are indexing the symbol table by the
364 // brig directive pointer! It makes the symbol table sort of pointless.
370 // kernel arguments. If not, maybe we can index the symbol name on a
385 // add in symbol value if specified
H A DBrig_new.hpp1462 BrigCodeOffset32_t symbol; //.wtype=ItemRef<DirectiveVariable> member in struct:BrigOperandAddress
/gem5/util/m5/
H A Dm5.c267 char *symbol = argv[1]; local
268 m5_add_symbol(addr, symbol);
350 { "addsymbol", do_addsymbol, "<address> <symbol>" },
/gem5/src/arch/arm/insts/
H A Dstatic_inst.cc399 std::string symbol;
401 if (symtab && symtab->findNearestSymbol(target, symbol, symbolAddr)) {
402 ccprintf(os, "<%s", symbol);
483 std::string symbol;
484 if (symtab && symtab->findNearestSymbol(addr, symbol, symbolAddr)) {
485 ccprintf(os, "%s%s", prefix, symbol);
/gem5/util/minorview/
H A Dmodel.py265 def decode(symbol):
266 if symbol in special_state_colours:
267 return Colour(special_state_colours[symbol])
269 return class_().from_string(symbol)
/gem5/src/base/
H A Dcp_annotate.cc50 const char *symbol; member in struct:CPAIgnoreSymbol
368 if (!st.compare(0,len, ignoreSymbols[x].symbol, len))
375 // if expl is true suspend symbol table based states
412 // return back to symbol table based states

Completed in 56 milliseconds