[lttng-dev] lttng-tools: trace-kernel.c stutters?

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Wed Jul 17 13:41:36 EDT 2013


Fixed by:

commit 91b23e997053fb552662f1ad07273f029e00d2e4
Author: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
Date:   Wed Jul 17 13:40:15 2013 -0400

    Cleanup: remove redundant assignment
    
    Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>

Thanks,

Mathieu

* Thibault, Daniel (Daniel.Thibault at drdc-rddc.gc.ca) wrote:
> lttng-tools-2.2.0\src\bin\lttng-sessiond\trace-kernel.c, lines 190-198:
> 
> 	case LTTNG_EVENT_FUNCTION:
> 		attr->instrumentation = LTTNG_KERNEL_KRETPROBE;
> 		attr->u.kretprobe.addr = ev->attr.probe.addr;
> 		attr->u.kretprobe.offset = ev->attr.probe.offset;
> 		attr->u.kretprobe.offset = ev->attr.probe.offset;
> 		strncpy(attr->u.kretprobe.symbol_name,
> 				ev->attr.probe.symbol_name, LTTNG_KERNEL_SYM_NAME_LEN);
> 		attr->u.kretprobe.symbol_name[LTTNG_KERNEL_SYM_NAME_LEN - 1] = '\0';
> 		break;
> 
>    Line 194 just repeats line 193.
> 
> Daniel U. Thibault
> Protection des systèmes et contremesures (PSC) | Systems Protection & Countermeasures (SPC)
> Cyber sécurité pour les missions essentielles (CME) | Mission Critical Cyber Security (MCCS)
> R & D pour la défense Canada - Valcartier (RDDC Valcartier) | Defence R&D Canada - Valcartier (DRDC Valcartier)
> 2459 route de la Bravoure
> Québec QC  G3J 1X5
> CANADA
> Vox : (418) 844-4000 x4245
> Fax : (418) 844-4538
> NAC : 918V QSDJ <http://www.travelgis.com/map.asp?addr=918V%20QSDJ>
> Gouvernement du Canada | Government of Canada
> <http://www.valcartier.drdc-rddc.gc.ca/>
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list