/fuchsia/zircon/system/utest/fbl/ |
H A D | forward_tests.cpp | 11 static int category(const int& arg) { return CAT_LVALUE; } function 13 static int category(int&& arg) { return CAT_RVALUE; } function 18 return category(t); 24 return category(fbl::move(t)); 30 return category(fbl::forward<T>(t)); 36 return category(fbl::forward<T&>(t)); 40 A(int&& n) : category(CAT_RVALUE) {} 41 A(int& n) : category(CAT_LVALUE) {} 42 int category; member in struct:A 85 EXPECT_EQ(CAT_RVALUE, a1.category); [all...] |
/fuchsia/zircon/system/ulib/trace/include/trace/ |
H A D | handler.h | 27 // Called by the trace engine to ask whether the specified category is enabled. 33 // |category| is the name of the category. 36 virtual bool IsCategoryEnabled(const char* category) { return true; } argument 66 static bool CallIsCategoryEnabled(trace_handler_t* handler, const char* category);
|
/fuchsia/zircon/system/ulib/trace/ |
H A D | handler.cpp | 20 bool TraceHandler::CallIsCategoryEnabled(trace_handler_t* handler, const char* category) { argument 21 return static_cast<TraceHandler*>(handler)->IsCategoryEnabled(category);
|
/fuchsia/zircon/system/host/abigen/ |
H A D | generator.cpp | 106 for (const auto& category : category_map_) { 107 os << "\n#define HAVE_SYSCALL_CATEGORY_" << category.first << " 1\n"; 108 os << "SYSCALL_CATEGORY_BEGIN(" << category.first << ")\n"; 110 for (auto sc : category.second) 113 os << "SYSCALL_CATEGORY_END(" << category.first << ")\n";
|
/fuchsia/zircon/system/ulib/trace-engine/include/trace-engine/ |
H A D | handler.h | 41 // Called by the trace engine to ask whether the specified category is enabled. 48 // |category| is the name of the category. 51 bool (*is_category_enabled)(trace_handler_t* handler, const char* category);
|
/fuchsia/zircon/system/uapp/trace-benchmark/ |
H A D | handler.h | 92 bool IsCategoryEnabled(const char* category) override { 93 // Any category beginning with "+" is enabled. 94 return category[0] == '+';
|
/fuchsia/zircon/make/ |
H A D | abigen.mk | 19 AG_KERNEL_CATEGORY := $(AG_ZIRCON)/syscall-category.inc 43 -category $(AG_KERNEL_CATEGORY) \
|
/fuchsia/zircon/kernel/lib/vdso/ |
H A D | vdso.cpp | 187 // For each category, define a function blacklist_<category> to blacklist 188 // all the syscalls in that category. These functions can be used in 189 // VDso::CreateVariant (below) to blacklist a category of syscalls for 191 #define SYSCALL_CATEGORY_BEGIN(category) \ 192 void blacklist_##category##_syscalls(VDsoDynSymWindow& dynsym_window, \ 196 #define SYSCALL_CATEGORY_END(category) \ 198 #include <zircon/syscall-category.inc> 275 // VMO. A variant can blacklist some system calls, by syscall category.
|
/fuchsia/zircon/system/ulib/trace-reader/ |
H A D | reader.cpp | 221 fbl::String category; local 226 !DecodeStringRef(record, category_ref, &category) || 237 timestamp, process_thread, fbl::move(category), fbl::move(name), 247 timestamp, process_thread, fbl::move(category), fbl::move(name), 253 timestamp, process_thread, fbl::move(category), fbl::move(name), 259 timestamp, process_thread, fbl::move(category), fbl::move(name), 268 timestamp, process_thread, fbl::move(category), fbl::move(name), 277 timestamp, process_thread, fbl::move(category), fbl::move(name), 286 timestamp, process_thread, fbl::move(category), fbl::move(name), 295 timestamp, process_thread, fbl::move(category), fb [all...] |
H A D | records.cpp | 440 return fbl::StringPrintf("Event(ts: %" PRIu64 ", pt: %s, category: \"%s\", name: \"%s\", %s, %s)", 442 event_.category.c_str(), event_.name.c_str(),
|
/fuchsia/zircon/system/ulib/trace-provider/ |
H A D | handler_impl.h | 36 bool IsCategoryEnabled(const char* category) override;
|
H A D | handler_impl.cpp | 206 bool TraceHandlerImpl::IsCategoryEnabled(const char* category) { argument 211 return enabled_category_set_.find(category) != enabled_category_set_.end();
|
/fuchsia/zircon/system/utest/trace/ |
H A D | fixture.cpp | 166 bool IsCategoryEnabled(const char* category) override { 168 return category[0] == '+';
|
/fuchsia/zircon/system/utest/trace-reader/ |
H A D | records_tests.cpp | 627 "category", "name", fbl::move(args), 634 EXPECT_TRUE(r.GetEvent().category == "category"); 649 EXPECT_TRUE(m.GetEvent().category == "category"); 664 EXPECT_TRUE(r.GetEvent().category == "category"); 673 EXPECT_STR_EQ("Event(ts: 123, pt: 4/5, category: \"category\", name: \"name\", "
|
/fuchsia/zircon/system/ulib/trace-reader/include/trace-reader/ |
H A D | records.h | 502 fbl::String category; member in struct:trace::final::Event
|
/fuchsia/zircon/system/ulib/trace-engine/ |
H A D | context_api.cpp | 436 bool CheckCategory(trace_context_t* context, const char* category) { argument 437 return context->handler()->ops->is_category_enabled(context->handler(), category); 515 return false; // category disabled 549 return false; // category disabled
|