Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bpftrace
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
bpftrace
Commits
b0fd03e7
Commit
b0fd03e7
authored
Sep 07, 2018
by
williangaspar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
K capitalised
parent
a325ca05
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/bpftrace.cpp
src/bpftrace.cpp
+4
-3
No files found.
src/bpftrace.cpp
View file @
b0fd03e7
...
...
@@ -976,7 +976,7 @@ std::string BPFtrace::hist_index_label(int power)
}
else
if
(
power
>=
10
)
{
suffix
=
'
k
'
;
suffix
=
'
K
'
;
power
-=
10
;
}
...
...
@@ -1000,9 +1000,10 @@ std::string BPFtrace::lhist_index_label(int number)
}
else
if
(
number
%
kilo
==
0
)
{
label
<<
number
/
kilo
<<
'
k
'
;
label
<<
number
/
kilo
<<
'
K
'
;
}
else
{
else
{
label
<<
number
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment