Update after lookup in map.increment for HASH types
Update after lookup in map.increment for HASH types

Performing the update before lookup incurs an extra spinlock in the
kernel, which hurts performance. Reorder the code and increment to 1.
The memset is there I believe due to some type mismatch warnings, so I'm
leaving as is rather than doing a direct assign to 1. The resulting code
is optimized away anyway.

Fixes: #1314
Signed-off-by: Brenden Blanco <8e41c261aa8ddb01230a40c21c26a049c1f6d041@gmail.com>

brendangregg/bcc,iovisor/bcc,mcaleavya/bcc,tuxology/bcc,iovisor/bcc,tuxology/bcc,tuxology/bcc,mcaleavya/bcc,tuxology/bcc,brendangregg/bcc,mcaleavya/bcc,iovisor/bcc,brendangregg/bcc,brendangregg/bcc,mcaleavya/bcc,brendangregg/bcc,iovisor/bcc,tuxology/bcc,iovisor/bcc,mcaleavya/bcc