summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPeng Li <lipeng321@huawei.com>2018-06-28 12:12:23 +0800
committerDavid S. Miller <davem@davemloft.net>2018-06-29 11:06:34 +0900
commit0e6084aa1c4eba8913143ea30254d50ed01724eb (patch)
tree84d6cb7fb276dc9c873a244e2b2bf8d689bc74a8 /tools/perf/scripts/python/export-to-postgresql.py
parent94c5e532130207f6ecfe0e1afd4ed3495ec1706f (diff)
downloadlinux-0e6084aa1c4eba8913143ea30254d50ed01724eb.tar.gz
linux-0e6084aa1c4eba8913143ea30254d50ed01724eb.zip
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-postgresql.py')
0 files changed, 0 insertions, 0 deletions