summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPeng Li <lipeng321@huawei.com>2018-06-28 07:12:23 +0300
committerDavid S. Miller <davem@davemloft.net>2018-06-29 05:06:34 +0300
commit0e6084aa1c4eba8913143ea30254d50ed01724eb (patch)
tree84d6cb7fb276dc9c873a244e2b2bf8d689bc74a8 /tools/perf/scripts/python/export-to-sqlite.py
parent94c5e532130207f6ecfe0e1afd4ed3495ec1706f (diff)
downloadlinux-0e6084aa1c4eba8913143ea30254d50ed01724eb.tar.xz
net: hns3: add unlikely for error check
The first bd of a packet is invalid and invalid ring head for tx IRQ is not offen, they may occur when there is error, Add unlikely for error check branch is better for performance. Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions