aboutsummaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorJulia Lawall <[email protected]>2009-12-06 10:16:30 +0100
committerIngo Molnar <[email protected]>2009-12-06 10:21:59 +0100
commit59b4caeb797494043f5f3b98a610f5d9b75eefa3 (patch)
treebef799ddcee211591b462aa683c3f0a3d48efd84 /scripts/objdiff
parentaf2d8289f57e427836be482c6f72cca674028121 (diff)
perf tools: Correct size computation in tracepoint_id_to_path()
The size argument to zalloc should be the size of desired structure, not the pointer to it. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @expression@ expression *x; @@ x = <+... -sizeof(x) +sizeof(*x) ...+>// </smpl> Signed-off-by: Julia Lawall <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Frederic Weisbecker <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions