amzn / hawktracer

HawkTracer is a highly portable, low-overhead, configurable profiling tool built in Amazon Video for getting performance metrics from low-end devices.
MIT License
133 stars 31 forks source link

[lib] check return value of the sscanf() call #53 #54

Closed loganek closed 5 years ago

loganek commented 5 years ago

Issue #, if available: #53

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

codecov-io commented 5 years ago

Codecov Report

Merging #54 into master will increase coverage by 0.01%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #54      +/-   ##
==========================================
+ Coverage   69.79%   69.81%   +0.01%     
==========================================
  Files          60       60              
  Lines        1768     1769       +1     
==========================================
+ Hits         1234     1235       +1     
  Misses        534      534
Flag Coverage Δ
#unittests 69.81% <100%> (+0.01%) :arrow_up:
Impacted Files Coverage Δ
lib/platform/linux/cpu_usage.c 100% <100%> (ø) :arrow_up: