]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
perfglue/heap_profiler.cc: expect args as first element on cmd vector
authorJoao Eduardo Luis <jecluis@gmail.com>
Fri, 20 Sep 2013 15:41:14 +0000 (16:41 +0100)
committerJoao Eduardo Luis <jecluis@gmail.com>
Fri, 20 Sep 2013 16:51:10 +0000 (17:51 +0100)
commitc98b910d49bd2b46ceafdc430044a31524c29f5b
tree350e4d82b733b576f8d8faa63b494f6632d92f02
parent08fe028bad13096d482454a2f303158727c363ff
perfglue/heap_profiler.cc: expect args as first element on cmd vector

We used to pass 'heap' as the first element of the cmd vector when
handling commands.  We haven't been doing so for a while now, so we
needed to fix this.

Not expecting 'heap' also makes sense, considering that what we need to
know when we reach this function is what command we should handle, and
we should not care what the caller calls us when handling his business.

Fixes: #6361
Backport: dumpling

Signed-off-by: Joao Eduardo Luis <jecluis@gmail.com>
src/perfglue/heap_profiler.cc