Skip to content

Conversation

@Rtoax
Copy link
Contributor

@Rtoax Rtoax commented Jun 30, 2025

There are many tools read /proc/loadavg, this commit add a comment function str_loadavg().

@Rtoax Rtoax force-pushed the patch-100-libbpf-str_loadavg branch from e60b55d to c8b7b1b Compare July 4, 2025 01:09
@Rtoax Rtoax force-pushed the patch-100-libbpf-str_loadavg branch 3 times, most recently from 2585756 to 25adc38 Compare July 4, 2025 05:52
@Rtoax
Copy link
Contributor Author

Rtoax commented Jul 4, 2025

@ekyooo Thanks for all the advise, and also thanks @yonghong-song , please review.

@Rtoax Rtoax requested review from ekyooo and yonghong-song July 4, 2025 05:53
@Rtoax Rtoax force-pushed the patch-100-libbpf-str_loadavg branch from 25adc38 to 17daa2d Compare July 6, 2025 09:48
@Rtoax
Copy link
Contributor Author

Rtoax commented Jul 6, 2025

@ekyooo add str_timestamp() and apply to all tools, please review.

@Rtoax Rtoax requested a review from ekyooo July 6, 2025 09:49
@Rtoax Rtoax force-pushed the patch-100-libbpf-str_loadavg branch 2 times, most recently from df70840 to 9a0478f Compare July 7, 2025 08:17
@Rtoax
Copy link
Contributor Author

Rtoax commented Jul 7, 2025

rebase to master.

Copy link
Collaborator

@chenhengqi chenhengqi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice cleanup. Thanks.

@Rtoax Rtoax force-pushed the patch-100-libbpf-str_loadavg branch 2 times, most recently from a8cd50e to 7e96308 Compare July 9, 2025 00:05
@Rtoax Rtoax requested review from chenhengqi and ekyooo July 9, 2025 00:05
@Rtoax Rtoax force-pushed the patch-100-libbpf-str_loadavg branch from 7e96308 to 757c55d Compare July 11, 2025 01:02
@Rtoax Rtoax requested a review from ekyooo July 11, 2025 01:03
@Rtoax Rtoax force-pushed the patch-100-libbpf-str_loadavg branch 2 times, most recently from dce4049 to bc1d4a8 Compare July 15, 2025 07:24
@Rtoax
Copy link
Contributor Author

Rtoax commented Jul 15, 2025

Rebase to master.

@Rtoax Rtoax force-pushed the patch-100-libbpf-str_loadavg branch from bc1d4a8 to 3ac7914 Compare July 17, 2025 00:16
@Rtoax Rtoax requested a review from ekyooo July 17, 2025 00:20
Copy link
Collaborator

@ekyooo ekyooo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From my viewpoint, we’re nearly done.
I appreciate your patience with my iterative requests.
Thanks!

@Rtoax Rtoax force-pushed the patch-100-libbpf-str_loadavg branch from 3ac7914 to 0260e09 Compare July 18, 2025 00:22
There are many tools read /proc/loadavg and timestamp, this commit add two
common function str_loadavg() and str_timestamp().

And fix bashreadline timestamp's wrong format, %m is month, should be %M (min).

Signed-off-by: Rong Tao <[email protected]>
@Rtoax Rtoax force-pushed the patch-100-libbpf-str_loadavg branch from 0260e09 to 153b9d7 Compare July 18, 2025 00:25
@Rtoax
Copy link
Contributor Author

Rtoax commented Jul 18, 2025

From my viewpoint, we’re nearly done.
I appreciate your patience with my iterative requests.
Thanks!

Totally OK, more patience, higher quality. thanks.

@Rtoax Rtoax requested a review from ekyooo July 18, 2025 00:28
@ekyooo
Copy link
Collaborator

ekyooo commented Jul 18, 2025

LGTM. Thanks for nice cleanup.
I hope this work can be helpful for your subsequent common API tasks.
Thank you again.

@ekyooo ekyooo merged commit 694de9f into iovisor:master Jul 21, 2025
1 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants