Home
last modified time | relevance | path

Searched +full:- +full:- +full:stacktrace (Results 1 – 25 of 1014) sorted by relevance

12345678910>>...41

/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/internal/
DStackTraceRecovery.kt2 …* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licen…
35 …// No unwrapping on continuation-less path: exception is not reported multiple times via slow paths in recoverStackTrace()
41 val stackTrace = stackTrace in sanitizeStackTrace() constant
42 val size = stackTrace.size in sanitizeStackTrace()
43 val lastIntrinsic = stackTrace.indexOfLast { stackTraceRecoveryClassName == it.className } in sanitizeStackTrace()
45 val endIndex = stackTrace.firstFrameIndex(baseContinuationImplClassName) in sanitizeStackTrace()
46 val adjustment = if (endIndex == -1) 0 else size - endIndex in sanitizeStackTrace()
47 val trace = Array(size - lastIntrinsic - adjustment) { in sanitizeStackTrace()
51 stackTrace[startIndex + it - 1] in sanitizeStackTrace()
67 * Here we are checking whether exception has already recovered stacktrace. in recoverFromStackFrame()
[all …]
/external/linux-kselftest/tools/testing/selftests/ftrace/test.d/trigger/
Dtrigger-stacktrace.tc2 # SPDX-License-Identifier: GPL-2.0
3 # description: event trigger - test stacktrace-trigger
11 FEATURE=`grep stacktrace events/sched/sched_process_fork/trigger`
12 if [ -z "$FEATURE" ]; then
13 echo "stacktrace trigger is not supported"
17 echo "Test stacktrace trigger"
19 echo 0 > options/stacktrace
20 echo 'stacktrace' > events/sched/sched_process_fork/trigger
23 fail "stacktrace trigger on sched_process_fork did not work"
27 echo "Test stacktrace semantic errors"
[all …]
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_stackdepot_test.cc1 //===-- sanitizer_stackdepot_test.cc --------------------------------------===//
8 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
22 StackTrace s1(array, ARRAY_SIZE(array)); in TEST()
24 StackTrace stack = StackDepotGet(i1); in TEST()
31 StackTrace stack = StackDepotGet((1 << 30) - 1); in TEST()
36 u32 i1 = StackDepotPut(StackTrace()); in TEST()
37 StackTrace stack = StackDepotGet(i1); in TEST()
42 StackTrace stack = StackDepotGet(0); in TEST()
48 StackTrace s1(array, ARRAY_SIZE(array)); in TEST()
[all …]
/external/google-cloud-java/java-trace/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/
DStackTrace.java8 * https://www.apache.org/licenses/LICENSE-2.0
28 * Protobuf type {@code google.devtools.cloudtrace.v2.StackTrace}
30 public final class StackTrace extends com.google.protobuf.GeneratedMessageV3 class
32 // @@protoc_insertion_point(message_implements:google.devtools.cloudtrace.v2.StackTrace)
35 // Use StackTrace.newBuilder() to construct.
36 private StackTrace(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { in StackTrace() method in StackTrace
40 private StackTrace() {} in StackTrace() method in StackTrace
45 return new StackTrace(); in newInstance()
64 com.google.devtools.cloudtrace.v2.StackTrace.class, in internalGetFieldAccessorTable()
65 com.google.devtools.cloudtrace.v2.StackTrace.Builder.class); in internalGetFieldAccessorTable()
[all …]
/external/cronet/third_party/libc++/src/modules/std/
Dstacktrace.cppm1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
11 #if __has_include(<stacktrace>)
13 # include <stacktrace>
16 export module std:stacktrace;
19 // [stacktrace.entry], class stacktrace_­entry
22 // [stacktrace.basic], class template basic_­stacktrace
25 // basic_­stacktrace typedef-names
[all …]
Dstacktrace.inc1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
12 // [stacktrace.entry], class stacktrace_­entry
15 // [stacktrace.basic], class template basic_­stacktrace
18 // basic_­stacktrace typedef-names
19 using std::stacktrace;
21 // [stacktrace.basic.nonmem], non-member functions
29 using std::pmr::stacktrace;
[all …]
/external/tensorflow/tensorflow/python/util/
Dstack_trace.h7 http://www.apache.org/licenses/LICENSE-2.0
47 class StackTrace final {
51 StackTrace() {} in StackTrace() function
53 // Returns `StackTrace` object that captures the current Python stack trace.
54 // `limit` determines how many stack frames at most are returned: set to -1
59 static StackTrace Capture(int limit) { in Capture()
61 if (limit == -1) limit = std::numeric_limits<int>::max(); in Capture()
63 StackTrace result; in Capture()
64 const PyFrameObject* frame = PyThreadState_GET()->frame; in Capture()
66 for (; i < limit && frame != nullptr; frame = frame->f_back, ++i) { in Capture()
[all …]
/external/kotlinx.coroutines/docs/topics/
Ddebugging.md3 <!--- TOC -->
5 * [Debugging coroutines](#debugging-coroutines)
6 * [Debug mode](#debug-mode)
7 * [Stacktrace recovery](#stacktrace-recovery)
8 * [Stacktrace recovery machinery](#stacktrace-recovery-machinery)
9 * [Debug agent](#debug-agent)
10 * [Android optimization](#android-optimization)
12 <!--- END -->
17 …`kotlinx.coroutines` comes with additional features for debugging: debug mode, stacktrace recovery
23 …ting system property [DEBUG_PROPERTY_NAME] or by running Java with enabled assertions (`-ea` flag).
[all …]
/external/cronet/base/debug/
Dstack_trace_nacl.cc2 // Use of this source code is governed by a BSD-style license that can be
10 StackTrace::StackTrace() = default;
11 StackTrace::StackTrace(size_t count) : StackTrace() {} in StackTrace() function in base::debug::StackTrace
12 StackTrace::StackTrace(const void* const* trace, size_t count) : StackTrace() {} in StackTrace() function in base::debug::StackTrace
14 void StackTrace::Print() const {} in Print()
16 void StackTrace::OutputToStream(std::ostream* os) const {} in OutputToStream()
18 std::string StackTrace::ToString() const { in ToString()
22 std::string StackTrace::ToStringWithPrefix(const char* prefix_string) const { in ToStringWithPrefix()
26 std::ostream& operator<<(std::ostream& os, const StackTrace& s) { in operator <<()
Dstack_trace.h2 // Use of this source code is governed by a BSD-style license that can be
36 // unit_tests only! This is not thread-safe: only call from main thread.
40 // contents. In non-official builds, this function also opens the object files
46 // Sets a first-chance callback for the stack dump signal handler. This callback
48 // signals, like out-of-bounds memory accesses in WebAssembly (WebAssembly Trap
63 // A stacktrace can be helpful in debugging. For example, you can include a
64 // stacktrace member in a object (probably around #ifndef NDEBUG) so that you
66 class BASE_EXPORT StackTrace {
78 // Creates a stacktrace from the current location.
79 StackTrace();
[all …]
Dstack_trace.cc2 // Use of this source code is governed by a BSD-style license that can be
17 #include "third_party/abseil-cpp/absl/types/optional.h"
45 // https://llvm.org/bugs/show_bug.cgi?id=18505 - LLVM generates
46 // x86-compatible frame, while GCC needs adjustment.
52 // On Arm-v8.3+ systems with pointer authentication codes (PAC), signature bits
60 // in the HINT space and treated as a no-op on older Arm cores (unlike the in StripPointerAuthenticationBits()
68 // No-op on other platforms. in StripPointerAuthenticationBits()
76 return fp_addr[0] - kStackFrameAdjustment; in GetNextStackFrame()
91 if (fp - prev_fp > 100000) return false; in IsStackFrameValid()
94 if (fp & (sizeof(uintptr_t) - 1)) return false; in IsStackFrameValid()
[all …]
/external/opencensus-java/buildscripts/
Dtravis_script4 # https://docs.travis-ci.com/user/customizing-the-build/#Implementing-Complex-Build-Steps.
6 set -o errexit
7 set -o xtrace
11 python "$(dirname "$0")"/check-git-history.py
18 ./gradlew clean assemble check --stacktrace
21 ./gradlew clean assemble check --stacktrace
24 ./gradlew clean assemble check --stacktrace
27 ./gradlew clean assemble --stacktrace
28 ./gradlew check :opencensus-all:jacocoTestReport
39 # https://docs.travis-ci.com/user/reference/osx/#JDK-and-OS-X
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/debug/internal/
DDebugProbesImpl.kt2 …* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licen… in <lambda>()
36 * "isInstalled$kotlinx_coroutines_debug" and must be kept binary-compatible, see KTIJ-24102 in <lambda>()
49 …* If the agent was installed via command line -javaagent parameter, do not use byte-buddy to avoid… in <lambda>()
61 …* Because `probeCoroutinesResumed` is called for every resumed continuation (see KT-29997 and the … in <lambda>()
63 …* Imagine a suspending call stack a()->b()->c(), where c() completes its execution and every call … in <lambda>()
66 …* Then at least three RUNNING -> RUNNING transitions will occur consecutively, the complexity of e… in <lambda>()
117 if (info == null) { // Append coroutine without stacktrace in <lambda>()
127 // Append coroutine with its last stacktrace element in <lambda>()
143 * Private method that dumps coroutines so that different public-facing method can use in <lambda>()
146 …> dumpCoroutinesInfoImpl(crossinline create: (CoroutineOwner<*>, CoroutineContext) -> R): List<R> { in <lambda>()
[all …]
/external/caliper/caliper/src/main/java/com/google/caliper/bridge/
DFailureLogMessage.java8 * http://www.apache.org/licenses/LICENSE-2.0
31 private final String stackTrace; field in FailureLogMessage
37 public FailureLogMessage(String stackTrace) { in FailureLogMessage() argument
38 this.stackTrace = checkNotNull(stackTrace); in FailureLogMessage()
41 public String stackTrace() { in stackTrace() method in FailureLogMessage
42 return stackTrace; in stackTrace()
52 return stackTrace.hashCode(); in hashCode()
61 return this.stackTrace.equals(that.stackTrace); in equals()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_stacktrace.h1 //===-- sanitizer_stacktrace.h ----------------------------------*- C++ -*-===//
8 //===----------------------------------------------------------------------===//
11 // run-time libraries.
12 //===----------------------------------------------------------------------===//
39 struct StackTrace { struct
49 StackTrace() : trace(nullptr), size(0), tag(0) {} in StackTrace() function
50 StackTrace(const uptr *trace, u32 size) : trace(trace), size(size), tag(0) {} in StackTrace() argument
51 StackTrace(const uptr *trace, u32 size, u32 tag) in StackTrace() function
54 // Prints a symbolized stacktrace, followed by an empty line.
72 // Performance-critical, must be in the header.
[all …]
/external/libchrome/base/debug/
Dstack_trace.h2 // Use of this source code is governed by a BSD-style license that can be
32 // unit_tests only! This is not thread-safe: only call from main thread.
36 // contents. In non-official builds, this function also opens the object files
52 // A stacktrace can be helpful in debugging. For example, you can include a
53 // stacktrace member in a object (probably around #ifndef NDEBUG) so that you
55 class BASE_EXPORT StackTrace {
57 // Creates a stacktrace from the current location.
58 StackTrace();
60 // Creates a stacktrace from the current location, of up to |count| entries.
62 explicit StackTrace(size_t count);
[all …]
/external/apache-velocity-engine/velocity-engine-core/src/main/java/org/apache/velocity/exception/
DMacroOverflowException.java12 * http://www.apache.org/licenses/LICENSE-2.0
23 * Application-level exception thrown when macro calls within macro calls
55 * @param stacktrace VTL stacktrace
58 …verflowException(final String exceptionMessage, final Throwable wrapped, final String[] stacktrace) in MacroOverflowException() argument
60 super(exceptionMessage, wrapped, stacktrace); in MacroOverflowException()
73 * @param stacktrace VTL stacktrace
76 public MacroOverflowException(final Throwable wrapped, final String[] stacktrace) in MacroOverflowException() argument
78 super(wrapped, stacktrace); in MacroOverflowException()
DResourceNotFoundException.java12 * http://www.apache.org/licenses/LICENSE-2.0
23 * Application-level exception thrown when a resource of any type
39 private static final long serialVersionUID = -4287732191458420347L;
64 * @param stacktrace VTL stacktrace
68 …ourceNotFoundException(final String exceptionMessage, final Throwable t, final String[] stacktrace) in ResourceNotFoundException() argument
70 super(exceptionMessage, t, stacktrace); in ResourceNotFoundException()
85 * @param stacktrace VTL stacktrace
89 public ResourceNotFoundException(final Throwable t, String[] stacktrace) in ResourceNotFoundException() argument
91 super(t, stacktrace); in ResourceNotFoundException()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Misc/
DErrorManager.cs3 Copyright (c) 2005-2007 Kunle Odutola
39 using StackTrace = System.Diagnostics.StackTrace; typedef
69 StackTrace stackTrace = new StackTrace(e); in GetLastNonErrorManagerCodeLocation()
71 for (; i < stackTrace.FrameCount; i++) in GetLastNonErrorManagerCodeLocation()
73 StackFrame f = stackTrace.GetFrame(i); in GetLastNonErrorManagerCodeLocation()
79 StackFrame location = stackTrace.GetFrame(i); in GetLastNonErrorManagerCodeLocation()
95 INTERNAL_ERROR(arg,arg2,exception,stackTrace) ::= <<
97 <stackTrace; separator="\n">
/external/antlr/tool/src/main/resources/org/antlr/tool/templates/messages/languages/
Den.stg38 CANNOT_WRITE_FILE(arg,exception,stackTrace) ::= <<
40 <stackTrace; separator="\n">
42 CANNOT_CLOSE_FILE(arg,exception,stackTrace) ::= "cannot close file <arg>: <exception>"
44 ERROR_READING_TOKENS_FILE(arg,exception,stackTrace) ::= <<
46 <stackTrace; separator="\n">
48 DIR_NOT_FOUND(arg,exception,stackTrace) ::= "directory not found: <arg>"
49 OUTPUT_DIR_IS_FILE(arg,exception,stackTrace) ::= "output directory is a file: <arg>"
50 CANNOT_OPEN_FILE(arg,exception,stackTrace) ::= "cannot find or open file: <arg><if(exception)>; rea…
53 INTERNAL_ERROR(arg,arg2,exception,stackTrace) ::= <<
55 <stackTrace; separator="\n">
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/internal/
DStackTraceRecovery.common.kt2 …* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licen…
10 * Tries to recover stacktrace for given [exception] and [continuation].
11 …* Stacktrace recovery tries to restore [continuation] stack frames using its debug metadata with […
13 * sets new stacktrace for wrapping exception.
14 * Some frames may be missing due to tail-call elimination.
16 * Works only on JVM with enabled debug-mode.
27 * Tries to recover stacktrace for given [exception]. Used in non-suspendable points of awaiting. in recoverStackTrace()
28 …* Stacktrace recovery tries to instantiate exception of given type with original exception as a ca… in recoverStackTrace()
29 * Wrapping exception will have proper stacktrace as it's instantiated in the right context. in recoverStackTrace()
31 * Works only on JVM with enabled debug-mode. in recoverStackTrace()
[all …]
/external/libtextclassifier/abseil-cpp/absl/debugging/
DCMakeLists.txt8 # https://www.apache.org/licenses/LICENSE-2.0
21 stacktrace
23 "stacktrace.h"
24 "internal/stacktrace_aarch64-inl.inc"
25 "internal/stacktrace_arm-inl.inc"
27 "internal/stacktrace_emscripten-inl.inc"
28 "internal/stacktrace_generic-inl.inc"
29 "internal/stacktrace_powerpc-inl.inc"
30 "internal/stacktrace_riscv-inl.inc"
31 "internal/stacktrace_unimplemented-inl.inc"
[all …]
/external/abseil-cpp/absl/debugging/
DCMakeLists.txt8 # https://www.apache.org/licenses/LICENSE-2.0
21 stacktrace
23 "stacktrace.h"
24 "internal/stacktrace_aarch64-inl.inc"
25 "internal/stacktrace_arm-inl.inc"
27 "internal/stacktrace_emscripten-inl.inc"
28 "internal/stacktrace_generic-inl.inc"
29 "internal/stacktrace_powerpc-inl.inc"
30 "internal/stacktrace_riscv-inl.inc"
31 "internal/stacktrace_unimplemented-inl.inc"
[all …]
/external/private-join-and-compute/third_party/abseil-cpp-20230125.2/absl/debugging/
DCMakeLists.txt8 # https://www.apache.org/licenses/LICENSE-2.0
21 stacktrace
23 "stacktrace.h"
24 "internal/stacktrace_aarch64-inl.inc"
25 "internal/stacktrace_arm-inl.inc"
27 "internal/stacktrace_emscripten-inl.inc"
28 "internal/stacktrace_generic-inl.inc"
29 "internal/stacktrace_powerpc-inl.inc"
30 "internal/stacktrace_riscv-inl.inc"
31 "internal/stacktrace_unimplemented-inl.inc"
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/debugging/
DCMakeLists.txt8 # https://www.apache.org/licenses/LICENSE-2.0
21 stacktrace
23 "stacktrace.h"
24 "internal/stacktrace_aarch64-inl.inc"
25 "internal/stacktrace_arm-inl.inc"
27 "internal/stacktrace_emscripten-inl.inc"
28 "internal/stacktrace_generic-inl.inc"
29 "internal/stacktrace_powerpc-inl.inc"
30 "internal/stacktrace_riscv-inl.inc"
31 "internal/stacktrace_unimplemented-inl.inc"
[all …]

12345678910>>...41