Skip to content

Commit 3866594

Browse files
author
goodmost
authored
Fix some comments (#3119)
Signed-off-by: goodmost <[email protected]>
1 parent 2c3e8b7 commit 3866594

File tree

10 files changed

+12
-12
lines changed

10 files changed

+12
-12
lines changed

docs/sources/view-and-analyze-profile-data/flamegraphs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Horizontally, the flamegraph represents 100% of the time that this application w
2929
The width of each node represents the amount of time spent in that function.
3030
The wider the node, the more time spent in that function. The narrower the node, the less time spent in that function.
3131

32-
Vertically, the nodes in the flamegraph represent the heirarchy of which functions were called and how much time was spent in each function.
32+
Vertically, the nodes in the flamegraph represent the hierarchy of which functions were called and how much time was spent in each function.
3333
The top node is the root node and represents the total amount of time spent in the application.
3434
The nodes below it represent the functions that were called and how much time was spent in each function.
3535
The nodes below those represent the functions that were called from those functions and how much time was spent in each function.

docs/sources/view-and-analyze-profile-data/pyroscope-ui.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ The Comparison page facilitates side-by-side comparison of profiles either based
8383

8484
To run a comparison:
8585

86-
1. Select two different sets of labels (for exmaple, `env:production` vs. `env:development`) and or time periods, reflected by the sub-timelines above each flamegraph.
86+
1. Select two different sets of labels (for example, `env:production` vs. `env:development`) and or time periods, reflected by the sub-timelines above each flamegraph.
8787
2. View the resulting flamegraphs side by side to identify disparities in performance.
8888

8989
There are many practical use cases for comparison for companies using Pyroscope.

ebpf/bpf/libbpf/bpf_helper_defs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3773,7 +3773,7 @@ static struct socket *(*bpf_sock_from_file)(struct file *file) = (void *) 162;
37733773
* actual packet size (resulting in negative packet size) will in
37743774
* principle not exceed the MTU, why it is not considered a
37753775
* failure. Other BPF-helpers are needed for performing the
3776-
* planned size change, why the responsability for catch a negative
3776+
* planned size change, why the responsibility for catch a negative
37773777
* packet size belong in those helpers.
37783778
*
37793779
* Specifying *ifindex* zero means the MTU check is performed

ebpf/bpf/pystr.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ struct _object {
3131

3232

3333
// Note: it is incomplete
34-
// Some state fields may be ommited
35-
// Also wstr field is ommited
34+
// Some state fields may be omitted
35+
// Also wstr field is omitted
3636
// Only first 32 bytes are here
3737
typedef struct {
3838
struct _object ob_base; /* 0 16 */

public/app/components/QueryInput/QueryInput.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
// We use !important so that we can overwrite the classes from
4444
// pre[class*="language-"]
45-
// which from from prism.scss
45+
// which from prism.scss
4646
background: none !important;
4747
padding: 0 !important;
4848
margin: 0 !important;

public/app/legacy/models/spyName.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const SpyNameFirstClass = [
1515
] as const;
1616

1717
export const SpyNameOther = [
18-
'scrape', // for compability purposes, it should be golang
18+
'scrape', // for compatibility purposes, it should be golang
1919
'tracing',
2020
'unknown',
2121
] as const;

public/app/sass/sanitize.css/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
- Added: Opinionated `border` removal on iframes in all browsers.
2222
- Removed: Opinionated `border-radius` on form controls.
2323
- Removed: Opinionated `box-shadow` on form controls to match UA expectations.
24-
- Fixed: `Edge` comments without `Chrome` are are changed to `Edge 18-`.
24+
- Fixed: `Edge` comments without `Chrome` are changed to `Edge 18-`.
2525
- Fixed: `Chrome` comments without `Edge` have `Edge` added.
2626
- Fixed: Nested list `dl` normalizations split.
2727
- Fixed: Logical `margin-block` normalization changed to `margin`.

public/app/services/base.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ async function connectRequest(
9898
// We could parse the response
9999
return Result.ok(data);
100100
} catch (e) {
101-
// We couldn't parse, but there's definitly some data
101+
// We couldn't parse, but there's definitely some data
102102
return Result.err(
103103
new ResponseOkNotInJSONFormat(response.value.status, textBody)
104104
);
@@ -181,7 +181,7 @@ async function fetchAndHandleErrors(
181181
)
182182
);
183183
} catch (e) {
184-
// We couldn't parse, but there's definitly some data
184+
// We couldn't parse, but there's definitely some data
185185
// We must handle this case since the go server sometimes responds with plain text
186186

187187
// It's HTML

public/app/util/formatDate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function isValidDate(d: Date) {
7272
* based on the passed-in parameter value
7373
* which is either a Number repsenting a date
7474
* or a default preset(example: "now-1h")
75-
* this is neccessary because the DatePicker component
75+
* this is necessary because the DatePicker component
7676
* from react-datepicker package has a property (selected)
7777
* that requires an input of type Date if we passed another
7878
* type the Component will throw an error and the app will crash

public/app/util/randomId.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* generates a random ID to be used outside react-land (eg jquery)
3-
* it's mandatory to generate it once, preferrably on a function's body
3+
* it's mandatory to generate it once, preferably on a function's body
44
* IMPORTANT: it does NOT:
55
* - generate unique ids across server/client
66
* use `useId` instead (https://reactjs.org/docs/hooks-reference.html#useid)

0 commit comments

Comments
 (0)