Skip to content

Commit

Permalink
Remove unnecessary symbols and add missing symbols (#893)
Browse files Browse the repository at this point in the history
Signed-off-by: cuishuang <[email protected]>
  • Loading branch information
cuishuang authored Sep 10, 2024
1 parent a8630ae commit a0b0bb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion browsertests/testdata/testfixture.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// TestFixture records log messages and errors in an array that will
// be returned to Go code. Each element in the result array is either
// an array of the form ["LOG", ...]", or ["ERROR", ...].
// an array of the form ["LOG", ...], or ["ERROR", ...].
class TestFixture {
constructor() {
this.context = ""; // Added to front of all log and error messages.
Expand Down
2 changes: 1 addition & 1 deletion profile/profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@ func (p *Profile) HasFileLines() bool {

// Unsymbolizable returns true if a mapping points to a binary for which
// locations can't be symbolized in principle, at least now. Examples are
// "[vdso]", [vsyscall]" and some others, see the code.
// "[vdso]", "[vsyscall]" and some others, see the code.
func (m *Mapping) Unsymbolizable() bool {
name := filepath.Base(m.File)
return strings.HasPrefix(name, "[") || strings.HasPrefix(name, "linux-vdso") || strings.HasPrefix(m.File, "/dev/dri/") || m.File == "//anon"
Expand Down

0 comments on commit a0b0bb1

Please sign in to comment.